mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
19 lines
535 B
Text
19 lines
535 B
Text
|
error: `mod.rs` files are required, found `src/bad/inner.rs`
|
||
|
--> src/bad/inner.rs:1:1
|
||
|
|
|
||
|
1 | pub mod stuff;
|
||
|
| ^
|
||
|
|
|
||
|
= help: move `src/bad/inner.rs` to `src/bad/inner/mod.rs`
|
||
|
= note: `-D clippy::self-named-module-files` implied by `-D warnings`
|
||
|
|
||
|
error: `mod.rs` files are required, found `src/bad/inner/stuff.rs`
|
||
|
--> src/bad/inner/stuff.rs:1:1
|
||
|
|
|
||
|
1 | pub mod most;
|
||
|
| ^
|
||
|
|
|
||
|
= help: move `src/bad/inner/stuff.rs` to `src/bad/inner/stuff/mod.rs`
|
||
|
|
||
|
error: could not compile `fail-mod` (bin "fail-mod") due to 2 previous errors
|