blob: 22558bc4ce89db234a02bd9a3ab2f7564c5d8430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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`
= help: to override `-D warnings` add `#[allow(clippy::mod_module_files)]`
error: could not compile `fail-no-mod` (bin "fail-no-mod") due to previous error
|