fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: expected identifier, found keyword `extern` 2 --> $DIR/keyword-extern-as-identifier-use.rs:1:5 3 | 4LL | use extern::foo; 5 | ^^^^^^ expected identifier, found keyword 6 | 7help: escape `extern` to use it as an identifier 8 | 9LL | use r#extern::foo; 10 | ++ 11 12error[E0432]: unresolved import `r#extern` 13 --> $DIR/keyword-extern-as-identifier-use.rs:1:5 14 | 15LL | use extern::foo; 16 | ^^^^^^ maybe a missing crate `r#extern`? 17 | 18 = help: consider adding `extern crate r#extern` to use the `r#extern` crate 19 20error: aborting due to 2 previous errors 21 22For more information about this error, try `rustc --explain E0432`.