7 lines
161 B
Rust
7 lines
161 B
Rust
// error-pattern: cyclic import
|
|
|
|
mod a { import foo = b::foo; export foo; }
|
|
mod b { import foo = a::foo; export foo; }
|
|
|
|
fn main(args: [str]) { #debug("loop"); }
|