mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
18 lines
207 B
Rust
18 lines
207 B
Rust
// run-pass
|
|
#![allow(unused_imports)]
|
|
// This should resolve fine even with the circular imports as
|
|
// they are not `pub`.
|
|
|
|
pub mod a {
|
|
use b::*;
|
|
}
|
|
|
|
pub mod b {
|
|
use a::*;
|
|
}
|
|
|
|
use a::*;
|
|
|
|
fn main() {
|
|
}
|