rust/src/test/compile-fail/import-loop-2.rs
2012-07-09 10:27:13 -07:00

14 lines
138 B
Rust

// error-pattern:import
mod a {
import b::x;
export x;
}
mod b {
import a::x;
export x;
fn main() { let y = x; }
}