rust/src/test/ui/export-non-interference2.rs
2019-07-27 18:56:16 +03:00

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(); }