rust/tests/ui/rfcs/rfc-2126-extern-absolute-paths/single-segment.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
520 B
Plaintext
Raw Normal View History

error: crate root imports need to be explicitly named: `use crate as name;`
2018-12-25 09:56:47 -06:00
--> $DIR/single-segment.rs:5:5
|
2019-03-09 06:03:44 -06:00
LL | use crate;
| ^^^^^
error: cannot glob-import all possible crates
2018-12-25 09:56:47 -06:00
--> $DIR/single-segment.rs:6:5
|
2019-03-09 06:03:44 -06:00
LL | use *;
| ^
error[E0423]: expected value, found crate `xcrate`
2018-12-25 09:56:47 -06:00
--> $DIR/single-segment.rs:9:13
|
2019-03-09 06:03:44 -06:00
LL | let s = ::xcrate;
| ^^^^^^^^ not a value
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0423`.