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

error: aborting due to previous error