]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/bad-import-with-rename.rs
Auto merge of #106646 - Amanieu:ilp32-object, r=Mark-Simulacrum
[rust.git] / tests / ui / imports / bad-import-with-rename.rs
1 mod A {
2     pub type B = ();
3     pub type B2 = ();
4 }
5
6 mod C {
7     use crate::D::B as _;
8     //~^ ERROR unresolved import `crate::D::B`
9
10     use crate::D::B2;
11     //~^ ERROR unresolved import `crate::D::B2`
12 }
13
14 mod D {}
15
16 fn main() {}