rust-clippy/tests/ui-cargo/module_style/fail_mod_remap/Cargo.stderr

11 lines
316 B
Text
Raw Normal View History

2023-04-20 15:19:36 +00:00
error: `mod.rs` files are required, found `src/bad.rs`
--> src/bad.rs:1:1
|
1 | pub mod inner;
| ^
|
= help: move `src/bad.rs` to `src/bad/mod.rs`
= note: `-D clippy::self-named-module-files` implied by `-D warnings`
error: could not compile `fail-mod-remap` (bin "fail-mod-remap") due to previous error