12 lines
171 B
Rust
12 lines
171 B
Rust
// run-pass
|
|
|
|
mod foo {
|
|
pub mod bar {
|
|
pub fn y() { super::super::foo::x(); }
|
|
}
|
|
|
|
pub fn x() { println!("x"); }
|
|
}
|
|
|
|
pub fn main() { self::foo::bar::y(); }
|