2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:24:13
|
2020-05-09 21:08:41 +00:00
|
|
|
|
|
2021-03-07 00:25:09 +00:00
|
|
|
LL | _ => (),
|
|
|
|
| ^ help: try this: `Self::Rgb(..)`
|
2020-05-09 21:08:41 +00:00
|
|
|
|
|
|
|
|
= note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2020-05-15 21:19:30 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:34:9
|
|
|
|
|
|
2021-03-07 00:25:09 +00:00
|
|
|
LL | _ => {},
|
|
|
|
| ^ help: try this: `Foo::C`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:44:9
|
|
|
|
|
|
2020-05-15 21:19:30 +00:00
|
|
|
LL | _ => {},
|
|
|
|
| ^ help: try this: `Color::Blue`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:52:9
|
2020-05-15 21:19:30 +00:00
|
|
|
|
|
|
|
|
LL | _ => {},
|
|
|
|
| ^ help: try this: `Color::Blue`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:58:9
|
2020-05-15 21:19:30 +00:00
|
|
|
|
|
|
|
|
LL | _ => {},
|
|
|
|
| ^ help: try this: `Color::Blue`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:75:9
|
|
|
|
|
|
|
|
|
LL | &_ => (),
|
|
|
|
| ^^ help: try this: `Color::Blue`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:84:9
|
|
|
|
|
|
|
|
|
LL | _ => (),
|
|
|
|
| ^ help: try this: `C::Blue`
|
|
|
|
|
2021-03-16 16:56:08 +00:00
|
|
|
error: wildcard matches only a single variant and will also match any future added variants
|
2021-03-07 00:25:09 +00:00
|
|
|
--> $DIR/match_wildcard_for_single_variants.rs:91:9
|
|
|
|
|
|
|
|
|
LL | _ => (),
|
|
|
|
| ^ help: try this: `Color::Blue`
|
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
2020-05-09 21:08:41 +00:00
|
|
|
|