]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/extern/keyword-extern-as-identifier-use.stderr
Rollup merge of #65613 - Mark-Simulacrum:rustdoc-preserve-ws, r=GuillaumeGomez
[rust.git] / src / test / ui / keyword / extern / keyword-extern-as-identifier-use.stderr
1 error: expected identifier, found keyword `extern`
2   --> $DIR/keyword-extern-as-identifier-use.rs:1:5
3    |
4 LL | use extern::foo;
5    |     ^^^^^^ expected identifier, found keyword
6    |
7 help: you can escape reserved keywords to use them as identifiers
8    |
9 LL | use r#extern::foo;
10    |     ^^^^^^^^
11
12 error: aborting due to previous error
13