fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0432]: unresolved import `crate::D::B` 2 --> $DIR/bad-import-with-rename.rs:7:9 3 | 4LL | use crate::D::B as _; 5 | ^^^^^^^^^^^^^^^^ no `B` in `D` 6 | 7help: consider importing this type alias instead 8 | 9LL | use A::B as _; 10 | ~~~~~~~~~ 11 12error[E0432]: unresolved import `crate::D::B2` 13 --> $DIR/bad-import-with-rename.rs:10:9 14 | 15LL | use crate::D::B2; 16 | ^^^^^^^^^^^^ no `B2` in `D` 17 | 18help: consider importing this type alias instead 19 | 20LL | use A::B2; 21 | ~~~~~ 22 23error: aborting due to 2 previous errors 24 25For more information about this error, try `rustc --explain E0432`.