rust/tests/ui/modules/special_module_name.rs

9 lines
213 B
Rust
Raw Normal View History

2022-02-28 18:59:21 -06:00
mod lib;
//~^ WARN found module declaration for lib.rs
//~| ERROR file not found for module `lib`
mod main;
//~^ WARN found module declaration for main.rs
//~| ERROR file not found for module `main`
fn main() {}