mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
481 B
Text
17 lines
481 B
Text
error: all variants have the same prefix: `Työ`
|
|
--> $DIR/ice-7869.rs:1:1
|
|
|
|
|
LL | / enum Tila {
|
|
LL | |
|
|
LL | | TyöAlkoi,
|
|
LL | | TyöKeskeytyi,
|
|
LL | | TyöValmis,
|
|
LL | | }
|
|
| |_^
|
|
|
|
|
= help: remove the prefixes 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 1 previous error
|
|
|