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

11 lines
317 B
Text
Raw Normal View History

2023-04-20 15:19:36 +00: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`
error: could not compile `fail-no-mod` (bin "fail-no-mod") due to previous error