2023-07-02 07:35:19 -05:00
|
|
|
error: `mod.rs` files are not allowed, found `src/bad/mod.rs`
|
|
|
|
--> src/bad/mod.rs:1:1
|
|
|
|
|
|
|
|
|
1 | pub struct Thing;
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= help: move `src/bad/mod.rs` to `src/bad.rs`
|
|
|
|
= note: `-D clippy::mod-module-files` implied by `-D warnings`
|
2023-09-12 11:13:53 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::mod_module_files)]`
|
2023-07-02 07:35:19 -05:00
|
|
|
|
|
|
|
error: could not compile `fail-no-mod` (bin "fail-no-mod") due to previous error
|