]> git.lizzy.rs Git - rust.git/blob - tests/ui/keyword/extern/keyword-extern-as-identifier-pat.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / keyword / extern / keyword-extern-as-identifier-pat.stderr
1 error: expected identifier, found keyword `extern`
2   --> $DIR/keyword-extern-as-identifier-pat.rs:2:9
3    |
4 LL |     let extern = 0;
5    |         ^^^^^^ expected identifier, found keyword
6    |
7 help: escape `extern` to use it as an identifier
8    |
9 LL |     let r#extern = 0;
10    |         ++
11
12 error: aborting due to previous error
13