rust/tests/ui/imports/issue-4865-3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
207 B
Rust
Raw Normal View History

// run-pass
#![allow(unused_imports)]
2015-08-06 05:48:42 -05:00
// This should resolve fine even with the circular imports as
// they are not `pub`.
2015-08-05 14:56:49 -05:00
pub mod a {
2015-08-06 05:48:42 -05:00
use b::*;
2015-08-05 14:56:49 -05:00
}
pub mod b {
2015-08-06 05:48:42 -05:00
use a::*;
2015-08-05 14:56:49 -05:00
}
use a::*;
fn main() {
}