rust/tests/ui/imports/issue-4865-3.rs
2024-02-16 20:02:50 +00:00

18 lines
208 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() {
}