]> git.lizzy.rs Git - rust.git/blob - src/test/ui/modules/mod_dir_recursive.rs
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[rust.git] / src / test / ui / modules / mod_dir_recursive.rs
1 // run-pass
2 // ignore-pretty issue #37195
3
4 // Testing that the parser for each file tracks its modules
5 // and paths independently. The load_another_mod module should
6 // not try to reuse the 'mod_dir_simple' path.
7
8 mod mod_dir_simple {
9     pub mod load_another_mod;
10 }
11
12 pub fn main() {
13     assert_eq!(mod_dir_simple::load_another_mod::test::foo(), 10);
14 }