1 error: wildcard match will also match any future added variants
2 --> $DIR/wildcard_enum_match_arm.rs:42:9
4 LL | _ => eprintln!("Not red"),
5 | ^ help: try this: `Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan`
7 note: the lint level is defined here
8 --> $DIR/wildcard_enum_match_arm.rs:4:9
10 LL | #![deny(clippy::wildcard_enum_match_arm)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: wildcard match will also match any future added variants
14 --> $DIR/wildcard_enum_match_arm.rs:46:9
16 LL | _not_red => eprintln!("Not red"),
17 | ^^^^^^^^ help: try this: `_not_red @ Color::Green | _not_red @ Color::Blue | _not_red @ Color::Rgb(..) | _not_red @ Color::Cyan`
19 error: wildcard match will also match any future added variants
20 --> $DIR/wildcard_enum_match_arm.rs:50:9
22 LL | not_red => format!("{:?}", not_red),
23 | ^^^^^^^ help: try this: `not_red @ Color::Green | not_red @ Color::Blue | not_red @ Color::Rgb(..) | not_red @ Color::Cyan`
25 error: wildcard match will also match any future added variants
26 --> $DIR/wildcard_enum_match_arm.rs:66:9
29 | ^ help: try this: `Color::Red | Color::Green | Color::Blue | Color::Rgb(..) | Color::Cyan`
31 error: wildcard matches known variants and will also match future added variants
32 --> $DIR/wildcard_enum_match_arm.rs:83:9
35 | ^ help: try this: `ErrorKind::PermissionDenied | _`
37 error: wildcard matches known variants and will also match future added variants
38 --> $DIR/wildcard_enum_match_arm.rs:101:13
41 | ^ help: try this: `Enum::B | _`
43 error: aborting due to 6 previous errors