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