]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-typeof.stderr
Auto merge of #86988 - thomcc:chunky-splitz-says-no-checking, r=the8472
[rust.git] / src / test / ui / parser / keyword-typeof.stderr
1 error: expected identifier, found reserved keyword `typeof`
2   --> $DIR/keyword-typeof.rs:2:9
3    |
4 LL |     let typeof = ();
5    |         ^^^^^^ expected identifier, found reserved keyword
6    |
7 help: escape `typeof` to use it as an identifier
8    |
9 LL |     let r#typeof = ();
10    |         ++
11
12 error: aborting due to previous error
13