rust-clippy/tests/ui/wildcard_enum_match_arm.stderr
2019-01-29 15:33:04 -06:00

15 lines
429 B
Text

error: wildcard match will miss any future added variants.
--> $DIR/wildcard_enum_match_arm.rs:26:9
|
LL | _ => eprintln!("Not red"),
| ^
|
note: lint level defined here
--> $DIR/wildcard_enum_match_arm.rs:1:9
|
LL | #![deny(clippy::wildcard_enum_match_arm)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: to resolve, match each variant explicitly
error: aborting due to previous error