mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
9 lines
234 B
Rust
9 lines
234 B
Rust
// Testing that the source_map is maintained correctly when parsing mods from external files
|
|
|
|
mod mod_file_aux;
|
|
|
|
fn main() {
|
|
assert!(mod_file_aux::bar() == 10);
|
|
//~^ ERROR cannot find function `bar` in module `mod_file_aux`
|
|
}
|