1- error: wildcard match will miss any future added variants.
1+ error: wildcard match will miss any future added variants
22 --> $DIR/wildcard_enum_match_arm.rs:31:9
33 |
44LL | _ => eprintln!("Not red"),
@@ -10,25 +10,25 @@ note: lint level defined here
1010LL | #![deny(clippy::wildcard_enum_match_arm)]
1111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
13- error: wildcard match will miss any future added variants.
13+ error: wildcard match will miss any future added variants
1414 --> $DIR/wildcard_enum_match_arm.rs:35:9
1515 |
1616LL | _not_red => eprintln!("Not red"),
1717 | ^^^^^^^^ help: try this: `_not_red @ Color::Green | _not_red @ Color::Blue | _not_red @ Color::Rgb(..) | _not_red @ Color::Cyan`
1818
19- error: wildcard match will miss any future added variants.
19+ error: wildcard match will miss any future added variants
2020 --> $DIR/wildcard_enum_match_arm.rs:39:9
2121 |
2222LL | not_red => format!("{:?}", not_red),
2323 | ^^^^^^^ help: try this: `not_red @ Color::Green | not_red @ Color::Blue | not_red @ Color::Rgb(..) | not_red @ Color::Cyan`
2424
25- error: wildcard match will miss any future added variants.
25+ error: wildcard match will miss any future added variants
2626 --> $DIR/wildcard_enum_match_arm.rs:55:9
2727 |
2828LL | _ => "No red",
2929 | ^ help: try this: `Color::Red | Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan`
3030
31- error: match on non-exhaustive enum doesn't explicitly match all known variants.
31+ error: match on non-exhaustive enum doesn't explicitly match all known variants
3232 --> $DIR/wildcard_enum_match_arm.rs:72:9
3333 |
3434LL | _ => {},
0 commit comments