mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 00:53:31 +00:00
16 lines
392 B
Text
16 lines
392 B
Text
|
error: all variants have the same prefix: `Työ`
|
||
|
--> $DIR/ice-7869.rs:1:1
|
||
|
|
|
||
|
LL | / enum Tila {
|
||
|
LL | | TyöAlkoi,
|
||
|
LL | | TyöKeskeytyi,
|
||
|
LL | | TyöValmis,
|
||
|
LL | | }
|
||
|
| |_^
|
||
|
|
|
||
|
= note: `-D clippy::enum-variant-names` implied by `-D warnings`
|
||
|
= help: remove the prefixes and use full paths to the variants instead of glob imports
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|