rust/tests/ui/modules/special_module_name.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
213 B
Rust
Raw Normal View History

2022-03-01 08:59:21 +08: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() {}