rust/tests/ui/keyword/extern/keyword-extern-as-identifier-pat.stderr

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

14 lines
329 B
Plaintext
Raw Normal View History

error: expected identifier, found keyword `extern`
2019-01-13 14:18:00 +01:00
--> $DIR/keyword-extern-as-identifier-pat.rs:2:9
|
2019-03-09 15:03:44 +03:00
LL | let extern = 0;
| ^^^^^^ expected identifier, found keyword
|
help: escape `extern` to use it as an identifier
|
LL | let r#extern = 0;
| ++
2019-01-13 14:18:00 +01:00
error: aborting due to previous error