mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
11 lines
400 B
Text
11 lines
400 B
Text
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`
|
|
= help: to override `-D warnings` add `#[allow(clippy::self_named_module_files)]`
|
|
|
|
error: could not compile `fail-mod-remap` (bin "fail-mod-remap") due to previous error
|