]> git.lizzy.rs Git - rust.git/blob - src/test/ui/export-non-interference2.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / export-non-interference2.rs
1 // run-pass
2
3 mod foo {
4     pub mod bar {
5         pub fn y() { super::super::foo::x(); }
6     }
7
8     pub fn x() { println!("x"); }
9 }
10
11 pub fn main() { self::foo::bar::y(); }