14 lines
138 B
Rust
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; }
|
|
}
|