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