rust/tests/ui/imports/issue-30560.stderr

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

22 lines
545 B
Plaintext
Raw Normal View History

2021-10-03 06:53:02 +00:00
error: items in traits are not importable
--> $DIR/issue-30560.rs:7:5
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | use T::*;
2018-07-15 21:11:54 +00:00
| ^^^^
error[E0432]: unresolved import `Alias`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-30560.rs:2:5
2018-07-15 21:11:54 +00:00
|
LL | use Alias::*;
| ^^^^^ `Alias` is a type alias, not a module
2018-07-15 21:11:54 +00:00
error[E0432]: unresolved import `std::io::Result`
--> $DIR/issue-30560.rs:4:14
2018-07-15 21:11:54 +00:00
|
LL | use std::io::Result::*;
| ^^^^^^ `Result` is a type alias, not a module
2018-07-15 21:11:54 +00:00
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0432`.