rust/tests/ui/module_name_repetitions.stderr

42 lines
1.2 KiB
Plaintext
Raw Normal View History

error: item name starts with its containing module's name
2024-02-17 06:16:29 -06:00
--> tests/ui/module_name_repetitions.rs:8:12
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | pub fn foo_bar() {}
| ^^^^^^^
2018-10-06 11:18:06 -05:00
|
2018-12-17 07:29:19 -06:00
= note: `-D clippy::module-name-repetitions` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::module_name_repetitions)]`
error: item name ends with its containing module's name
2024-02-17 06:16:29 -06:00
--> tests/ui/module_name_repetitions.rs:11:12
2018-10-06 11:18:06 -05:00
|
2018-12-27 09:57:55 -06:00
LL | pub fn bar_foo() {}
| ^^^^^^^
error: item name starts with its containing module's name
2024-02-17 06:16:29 -06:00
--> tests/ui/module_name_repetitions.rs:13:16
|
LL | pub struct FooCake;
| ^^^^^^^
error: item name ends with its containing module's name
2024-02-17 06:16:29 -06:00
--> tests/ui/module_name_repetitions.rs:15:14
|
2018-12-27 09:57:55 -06:00
LL | pub enum CakeFoo {}
| ^^^^^^^
2017-11-26 11:57:34 -06:00
error: item name starts with its containing module's name
2024-02-17 06:16:29 -06:00
--> tests/ui/module_name_repetitions.rs:17:16
2017-11-26 11:57:34 -06:00
|
2018-12-27 09:57:55 -06:00
LL | pub struct Foo7Bar;
| ^^^^^^^
2017-11-26 11:57:34 -06:00
error: item name starts with its containing module's name
--> tests/ui/module_name_repetitions.rs:30:20
|
LL | pub use error::FooError;
| ^^^^^^^^
error: aborting due to 6 previous errors
2018-01-16 10:06:27 -06:00