fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
546 B21 linesraw
1error: items in traits are not importable.
2  --> $DIR/issue-30560.rs:7:5
3   |
4LL | use T::*;
5   |     ^^^^
6
7error[E0432]: unresolved import `Alias`
8  --> $DIR/issue-30560.rs:2:5
9   |
10LL | use Alias::*;
11   |     ^^^^^ `Alias` is a type alias, not a module
12
13error[E0432]: unresolved import `std::io::Result`
14  --> $DIR/issue-30560.rs:4:14
15   |
16LL | use std::io::Result::*;
17   |              ^^^^^^ `Result` is a type alias, not a module
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0432`.