rust/tests/ui/imports/import4.rs

8 lines
112 B
Rust
Raw Normal View History

2020-12-06 17:01:35 -06:00
// error-pattern: import
2020-12-06 17:01:35 -06:00
mod a { pub use b::foo; }
mod b { pub use a::foo; }
2020-12-06 17:01:35 -06:00
fn main() { println!("loop"); }