mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
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
|
|
|