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

error: aborting due to 1 previous error