summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-81806.stderr
blob: f1287b82fa57ee3ad82f597148365e0d621ca540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 1 previous error