]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-81806.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-81806.stderr
1 error: expected identifier, found keyword `impl`
2   --> $DIR/issue-81806.rs:2:1
3    |
4 LL | trait T { const
5    |         - while parsing this item list starting here
6 LL | impl
7    | ^^^^ expected identifier, found keyword
8 LL | }
9    | - the item list ends here
10    |
11 help: escape `impl` to use it as an identifier
12    |
13 LL | r#impl
14    | ++
15
16 error: aborting due to previous error
17