2019-11-03 18:00:00 -06:00
|
|
|
// check-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_imports)]
|
2015-08-04 01:14:32 -05:00
|
|
|
// These crossed imports should resolve fine, and not block on
|
|
|
|
// each other and be reported as unresolved.
|
|
|
|
|
2015-07-31 12:04:34 -05:00
|
|
|
mod a {
|
|
|
|
use b::{B};
|
|
|
|
pub use self::inner::A;
|
|
|
|
|
|
|
|
mod inner {
|
|
|
|
pub struct A;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod b {
|
|
|
|
use a::{A};
|
|
|
|
pub use self::inner::B;
|
|
|
|
|
|
|
|
mod inner {
|
|
|
|
pub struct B;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|