mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 08:16:56 +00:00
12 lines
157 B
Rust
12 lines
157 B
Rust
mod a {
|
|
pub use crate::b::x;
|
|
}
|
|
|
|
mod b {
|
|
pub use crate::a::x; //~ ERROR unresolved import `crate::a::x`
|
|
|
|
fn main() { let y = x; }
|
|
}
|
|
|
|
fn main() {}
|