1 // check-pass 2 #![allow(dead_code)] 3 #![allow(unused_imports)] 4 // These crossed imports should resolve fine, and not block on 5 // each other and be reported as unresolved. 6 7 mod a { 8 use b::{B}; 9 pub use self::inner::A; 10 11 mod inner { 12 pub struct A; 13 } 14 } 15 16 mod b { 17 use a::{A}; 18 pub use self::inner::B; 19 20 mod inner { 21 pub struct B; 22 } 23 } 24 main()25fn main() {} 26