1 error: cannot glob-import all possible crates
2 --> $DIR/single-segment.rs:18:5
4 LL | use extern::*; //~ ERROR cannot glob-import all possible crates
7 error[E0432]: unresolved import `extern`
8 --> $DIR/single-segment.rs:16:5
10 LL | use extern; //~ ERROR unresolved import `extern`
11 | ^^^^^^ no `extern` in the root
13 error[E0423]: expected value, found module `extern::xcrate`
14 --> $DIR/single-segment.rs:21:13
16 LL | let s = extern::xcrate; //~ ERROR expected value, found module `extern::xcrate`
17 | ^^^^^^^^^^^^^^ not a value
19 error: aborting due to 3 previous errors
21 Some errors occurred: E0423, E0432.
22 For more information about an error, try `rustc --explain E0423`.