2019-11-04 00:00:00 +00:00
|
|
|
// check-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_imports)]
|
2015-08-04 08:14:32 +02:00
|
|
|
// These crossed imports should resolve fine, and not block on
|
|
|
|
// each other and be reported as unresolved.
|
|
|
|
|
2015-07-31 19:04:34 +02: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() {}
|