1 error[E0432]: unresolved import `crate::D::B`
2 --> $DIR/bad-import-with-rename.rs:7:9
4 LL | use crate::D::B as _;
5 | ^^^^^^^^^^^^^^^^ no `B` in `D`
7 help: consider importing this type alias instead
12 error[E0432]: unresolved import `crate::D::B2`
13 --> $DIR/bad-import-with-rename.rs:10:9
15 LL | use crate::D::B2;
16 | ^^^^^^^^^^^^ no `B2` in `D`
18 help: consider importing this type alias instead
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0432`.