2010-07-09 11:59:00 -07:00
|
|
|
mod a {
|
2025-06-02 10:11:10 +02:00
|
|
|
pub use crate::b::x;
|
2010-07-09 11:59:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mod b {
|
2025-06-02 10:11:10 +02:00
|
|
|
pub use crate::a::x; //~ ERROR unresolved import `crate::a::x`
|
2010-07-09 11:59:00 -07:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn main() { let y = x; }
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|
2018-08-23 02:19:38 +03:00
|
|
|
|
|
|
|
|
fn main() {}
|