]> git.lizzy.rs Git - rust.git/blob - src/test/ui/modules/mod_file_with_path_attr.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / modules / mod_file_with_path_attr.rs
1 // run-pass
2 // ignore-pretty issue #37195
3
4 // Testing that a plain .rs file can load modules from other source files
5
6 #[path = "mod_file_aux.rs"]
7 mod m;
8
9 pub fn main() {
10     assert_eq!(m::foo(), 10);
11 }