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
208 B
Rust
Raw Normal View History

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