summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/extern-prelude-fail.stderr
blob: a1591914b4d298878bd6c03be274e603e29f00e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0432]: unresolved import `extern_prelude`
  --> $DIR/extern-prelude-fail.rs:7:9
   |
LL |     use extern_prelude::S;
   |         ^^^^^^^^^^^^^^ maybe a missing crate `extern_prelude`?
   |
   = help: consider adding `extern crate extern_prelude` to use the `extern_prelude` crate

error[E0433]: failed to resolve: maybe a missing crate `extern_prelude`?
  --> $DIR/extern-prelude-fail.rs:8:15
   |
LL |     let s = ::extern_prelude::S;
   |               ^^^^^^^^^^^^^^ maybe a missing crate `extern_prelude`?
   |
   = help: consider adding `extern crate extern_prelude` to use the `extern_prelude` crate

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.