]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-typeof.stderr
Auto merge of #85556 - FabianWolff:issue-85071, r=estebank,jackh726
[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: you can escape reserved keywords to use them as identifiers
8    |
9 LL |     let r#typeof = ();
10    |         ~~~~~~~~
11
12 error: aborting due to previous error
13