1 // run-pass 2 #![allow(unused_imports)] 3 // This should resolve fine. 4 // Prior to fix, the crossed imports between a and b 5 // would block on the glob import, itself never being resolved 6 // because these previous imports were not resolved. 7 8 pub mod a { 9 use b::fn_b; 10 use c::*; 11 fn_a()12 pub fn fn_a(){ 13 } 14 } 15 16 pub mod b { 17 use a::fn_a; 18 use c::*; 19 fn_b()20 pub fn fn_b(){ 21 } 22 } 23 24 pub mod c{ fn_c()25 pub fn fn_c(){ 26 } 27 } 28 29 use a::fn_a; 30 use b::fn_b; 31 main()32fn main() { 33 } 34