mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
343 B
Text
13 lines
343 B
Text
error: expected identifier, found reserved keyword `override`
|
|
--> $DIR/keyword-override.rs:2:9
|
|
|
|
|
LL | let override = ();
|
|
| ^^^^^^^^ expected identifier, found reserved keyword
|
|
|
|
|
help: escape `override` to use it as an identifier
|
|
|
|
|
LL | let r#override = ();
|
|
| ++
|
|
|
|
error: aborting due to previous error
|
|
|