rust/src/test/compile-fail/import-loop.rs
Marijn Haverbeke fbc0e840e3 Stop showing a 'cyclic import' message for unresolved imports
This only happened for single-length import paths, because the import
was being looked up in its own scope.
2011-05-24 20:58:38 +02:00

10 lines
86 B
Rust

// error-pattern: cyclic import
import y::x;
mod y {
import x;
}
fn main() {
}