14 lines
116 B
Rust
14 lines
116 B
Rust
![]() |
// error-pattern:cyclic import
|
||
|
|
||
|
mod a {
|
||
|
import b.x;
|
||
|
}
|
||
|
|
||
|
mod b {
|
||
|
import a.x;
|
||
|
|
||
|
fn main() {
|
||
|
auto y = x;
|
||
|
}
|
||
|
}
|