]> git.lizzy.rs Git - rust.git/blob - tests/ui/stutter.stderr
Merge pull request #3265 from mikerite/fix-export
[rust.git] / tests / ui / stutter.stderr
1 error: item name starts with its containing module's name
2   --> $DIR/stutter.rs:18:5
3    |
4 18 |     pub fn foo_bar() {}
5    |     ^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::stutter` implied by `-D warnings`
8
9 error: item name ends with its containing module's name
10   --> $DIR/stutter.rs:19:5
11    |
12 19 |     pub fn bar_foo() {}
13    |     ^^^^^^^^^^^^^^^^^^^
14
15 error: item name starts with its containing module's name
16   --> $DIR/stutter.rs:20:5
17    |
18 20 |     pub struct FooCake {}
19    |     ^^^^^^^^^^^^^^^^^^^^^
20
21 error: item name ends with its containing module's name
22   --> $DIR/stutter.rs:21:5
23    |
24 21 |     pub enum CakeFoo {}
25    |     ^^^^^^^^^^^^^^^^^^^
26
27 error: item name starts with its containing module's name
28   --> $DIR/stutter.rs:22:5
29    |
30 22 |     pub struct Foo7Bar;
31    |     ^^^^^^^^^^^^^^^^^^^
32
33 error: aborting due to 5 previous errors
34