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