mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
22 lines
545 B
Plaintext
22 lines
545 B
Plaintext
error: items in traits are not importable
|
|
--> $DIR/issue-30560.rs:7:5
|
|
|
|
|
LL | use T::*;
|
|
| ^^^^
|
|
|
|
error[E0432]: unresolved import `Alias`
|
|
--> $DIR/issue-30560.rs:2:5
|
|
|
|
|
LL | use Alias::*;
|
|
| ^^^^^ `Alias` is a type alias, not a module
|
|
|
|
error[E0432]: unresolved import `std::io::Result`
|
|
--> $DIR/issue-30560.rs:4:14
|
|
|
|
|
LL | use std::io::Result::*;
|
|
| ^^^^^^ `Result` is a type alias, not a module
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0432`.
|