]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2126-extern-in-paths/single-segment.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / rfc-2126-extern-in-paths / single-segment.stderr
1 error: cannot glob-import all possible crates
2   --> $DIR/single-segment.rs:18:5
3    |
4 LL | use extern::*; //~ ERROR cannot glob-import all possible crates
5    |     ^^^^^^^^^
6
7 error[E0432]: unresolved import `extern`
8   --> $DIR/single-segment.rs:16:5
9    |
10 LL | use extern; //~ ERROR unresolved import `extern`
11    |     ^^^^^^ no `extern` in the root
12
13 error[E0423]: expected value, found module `extern::xcrate`
14   --> $DIR/single-segment.rs:21:13
15    |
16 LL |     let s = extern::xcrate; //~ ERROR expected value, found module `extern::xcrate`
17    |             ^^^^^^^^^^^^^^ not a value
18
19 error: aborting due to 3 previous errors
20
21 Some errors occurred: E0423, E0432.
22 For more information about an error, try `rustc --explain E0423`.