1 error: crate root imports need to be explicitly named: `use crate as name;`
2 --> $DIR/single-segment.rs:5:5
7 error: cannot glob-import all possible crates
8 --> $DIR/single-segment.rs:6:5
13 error[E0423]: expected value, found crate `xcrate`
14 --> $DIR/single-segment.rs:9:13
16 LL | let s = ::xcrate;
17 | ^^^^^^^^ not a value
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0423`.