2019-01-25 10:42:11 -06:00
|
|
|
error: wildcard match will miss any future added variants.
|
2019-01-31 16:01:23 -06:00
|
|
|
--> $DIR/wildcard_enum_match_arm.rs:13:9
|
2019-01-25 10:42:11 -06:00
|
|
|
|
|
2019-01-31 16:01:23 -06:00
|
|
|
LL | _ => "Could be",
|
|
|
|
| ^ help: try this: `Maybe::Probably(..) | Maybe::None`
|
2019-01-25 10:42:11 -06:00
|
|
|
|
|
2019-01-31 16:01:23 -06:00
|
|
|
= note: `-D clippy::wildcard-enum-match-arm` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: wildcard match will miss any future added variants.
|
|
|
|
--> $DIR/wildcard_enum_match_arm.rs:20:9
|
|
|
|
|
|
|
|
|
LL | _other => "Could be",
|
|
|
|
| ^^^^^^ help: try this: `_other @ Maybe::Some(..) | _other @ Maybe::Probably(..)`
|
|
|
|
|
|
|
|
error: wildcard match will miss any future added variants.
|
|
|
|
--> $DIR/wildcard_enum_match_arm.rs:27:9
|
|
|
|
|
|
|
|
|
LL | n => format!("{:?}", n),
|
|
|
|
| ^ help: try this: `n @ Maybe::Probably(..) | n @ Maybe::None`
|
|
|
|
|
|
|
|
error: wildcard match will miss any future added variants.
|
|
|
|
--> $DIR/wildcard_enum_match_arm.rs:41:9
|
2019-01-25 10:42:11 -06:00
|
|
|
|
|
2019-01-31 16:01:23 -06:00
|
|
|
LL | _ => "Who knows",
|
|
|
|
| ^ help: try this: `Maybe::Some(..) | Maybe::Probably(..) | Maybe::None`
|
2019-01-25 10:42:11 -06:00
|
|
|
|
2019-01-31 16:01:23 -06:00
|
|
|
error: aborting due to 4 previous errors
|
2019-01-25 10:42:11 -06:00
|
|
|
|