summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-cargo/module_style/fail_mod/src/main.stderr
blob: e2010e9981315a748fbdbebc0a902bfa479766cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: `mod.rs` files are required, found `bad/inner.rs`
  --> $DIR/bad/inner.rs:1:1
   |
LL | pub mod stuff;
   | ^
   |
   = note: `-D clippy::self-named-module-files` implied by `-D warnings`
   = help: move `bad/inner.rs` to `bad/inner/mod.rs`

error: `mod.rs` files are required, found `bad/inner/stuff.rs`
  --> $DIR/bad/inner/stuff.rs:1:1
   |
LL | pub mod most;
   | ^
   |
   = help: move `bad/inner/stuff.rs` to `bad/inner/stuff/mod.rs`

error: aborting due to 2 previous errors