blob: 4c5324505e96a080df1b1d81742909a081bc57e6 (
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 previous error
|