rust/tests/ui/modules_and_files_visibility/mod_file_disambig.rs
2023-01-11 09:32:08 +00:00

7 lines
230 B
Rust

mod mod_file_disambig_aux; //~ ERROR file for module `mod_file_disambig_aux` found at both
fn main() {
assert_eq!(mod_file_aux::bar(), 10);
//~^ ERROR failed to resolve: use of undeclared crate or module `mod_file_aux`
}