]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2126-extern-absolute-paths/single-segment.stderr
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / rfc-2126-extern-absolute-paths / single-segment.stderr
1 error: crate root imports need to be explicitly named: `use crate as name;`
2   --> $DIR/single-segment.rs:5:5
3    |
4 LL | use crate;
5    |     ^^^^^
6
7 error: cannot glob-import all possible crates
8   --> $DIR/single-segment.rs:6:5
9    |
10 LL | use *;
11    |     ^
12
13 error[E0423]: expected value, found crate `xcrate`
14   --> $DIR/single-segment.rs:9:13
15    |
16 LL |     let s = ::xcrate;
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`.