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

12 lines
140 B
Rust

// run-pass
pub mod foo {
pub fn x() { ::bar::x(); }
}
pub mod bar {
pub fn x() { println!("x"); }
}
pub fn main() { foo::x(); }