os-rust/tests/ui/reserved/reserved-become.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
332 B
Text
Raw Normal View History

error: expected identifier, found reserved keyword `become`
2018-12-25 08:56:47 -07:00
--> $DIR/reserved-become.rs:2:9
2018-08-08 14:28:26 +02:00
|
LL | let become = 0;
| ^^^^^^ expected identifier, found reserved keyword
|
help: escape `become` to use it as an identifier
|
LL | let r#become = 0;
| ++
2018-08-08 14:28:26 +02:00
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00