mirror of https://github.com/rust-lang/rust
14 lines
333 B
Plaintext
14 lines
333 B
Plaintext
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
|
|
|