rust/tests/ui/parser/keyword.stderr

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

14 lines
295 B
Plaintext
Raw Normal View History

2018-10-20 20:36:17 +00:00
error: expected identifier, found keyword `break`
--> $DIR/keyword.rs:1:9
2018-10-20 20:36:17 +00:00
|
LL | pub mod break {
| ^^^^^ expected identifier, found keyword
|
help: escape `break` to use it as an identifier
|
LL | pub mod r#break {
| ++
2018-10-20 20:36:17 +00:00
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00