mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
18 lines
373 B
Plaintext
18 lines
373 B
Plaintext
error: expected identifier, found keyword `impl`
|
|
--> $DIR/issue-81806.rs:2:1
|
|
|
|
|
LL | trait T { const
|
|
| - while parsing this item list starting here
|
|
LL | impl
|
|
| ^^^^ expected identifier, found keyword
|
|
LL | }
|
|
| - the item list ends here
|
|
|
|
|
help: escape `impl` to use it as an identifier
|
|
|
|
|
LL | r#impl
|
|
| ++
|
|
|
|
error: aborting due to previous error
|
|
|