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

error: aborting due to previous error