summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/keyword-impl-as-identifier.stderr
blob: 73a50bc38bcf1ee4d2418823c07fbcc6f9d7a0d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found keyword `impl`
  --> $DIR/keyword-impl-as-identifier.rs:4:9
   |
LL |     let impl = "foo";
   |         ^^^^ expected identifier, found keyword
   |
help: escape `impl` to use it as an identifier
   |
LL |     let r#impl = "foo";
   |         ++

error: aborting due to previous error