fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: item name starts with its containing module's name 2 --> $DIR/module_name_repetitions.rs:8:12 3 | 4LL | pub fn foo_bar() {} 5 | ^^^^^^^ 6 | 7 = note: `-D clippy::module-name-repetitions` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::module_name_repetitions)]` 9 10error: item name ends with its containing module's name 11 --> $DIR/module_name_repetitions.rs:11:12 12 | 13LL | pub fn bar_foo() {} 14 | ^^^^^^^ 15 16error: item name starts with its containing module's name 17 --> $DIR/module_name_repetitions.rs:13:16 18 | 19LL | pub struct FooCake; 20 | ^^^^^^^ 21 22error: item name ends with its containing module's name 23 --> $DIR/module_name_repetitions.rs:15:14 24 | 25LL | pub enum CakeFoo {} 26 | ^^^^^^^ 27 28error: item name starts with its containing module's name 29 --> $DIR/module_name_repetitions.rs:17:16 30 | 31LL | pub struct Foo7Bar; 32 | ^^^^^^^ 33 34error: aborting due to 5 previous errors 35