rust/src/test/compile-fail/import-loop-2.rs
Niko Matsakis a856bccdc6 Revert "rustc: Switch to the new resolution pass"
This reverts commit c4af6e92fb.

Branch was burning...many, many unresolved imports.
2012-07-06 20:45:06 -07:00

14 lines
145 B
Rust

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