blob: 8b1dd89fe3ca71e4c958aaad22c93a7415425dda [file] [log] [blame]
error: cannot glob-import all possible crates
--> $DIR/single-segment.rs:17:5
|
LL | use extern::*; //~ ERROR cannot glob-import all possible crates
| ^^^^^^^^^
error[E0432]: unresolved import `extern`
--> $DIR/single-segment.rs:15:5
|
LL | use extern; //~ ERROR unresolved import `extern`
| ^^^^^^ no `extern` in the root
error[E0423]: expected value, found module `extern::xcrate`
--> $DIR/single-segment.rs:20:13
|
LL | let s = extern::xcrate; //~ ERROR expected value, found module `extern::xcrate`
| ^^^^^^^^^^^^^^ not a value
error: aborting due to 3 previous errors
Some errors occurred: E0423, E0432.
For more information about an error, try `rustc --explain E0423`.