error: all variants have the same postfix: `Foo` --> $DIR/enum_variant_names.rs:7:1 | LL | / enum Foo2 { LL | | LL | | AFoo, LL | | BFoo, ... | LL | | EFoo, LL | | } | |_^ | = help: remove the postfixes and use full paths to the variants instead of glob imports = note: `-D clippy::enum-variant-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]` error: aborting due to previous error