]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/keyword/extern/keyword-extern-as-identifier-use.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / keyword / extern / keyword-extern-as-identifier-use.stderr
index 05802f2d36710a42a4c670d2e601cd9f82f483f1..edbb36452b6ce0139ff8239a8f962323af289e68 100644 (file)
@@ -9,5 +9,12 @@ help: you can escape reserved keywords to use them as identifiers
 LL | use r#extern::foo;
    |     ^^^^^^^^
 
-error: aborting due to previous error
+error[E0432]: unresolved import `r#extern`
+  --> $DIR/keyword-extern-as-identifier-use.rs:1:5
+   |
+LL | use extern::foo;
+   |     ^^^^^^ maybe a missing crate `r#extern`?
+
+error: aborting due to 2 previous errors
 
+For more information about this error, try `rustc --explain E0432`.