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

error: aborting due to previous error