rust/src/test/compile-fail/import-loop.rs

12 lines
100 B
Rust

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