]> git.lizzy.rs Git - rust.git/blob - tests/ui/wildcard_enum_match_arm.stderr
6319a3f3d46c3a763d0bb8dd6174bd82ba1d1a01
[rust.git] / tests / ui / wildcard_enum_match_arm.stderr
1 error: wildcard match will miss any future added variants.
2   --> $DIR/wildcard_enum_match_arm.rs:26:9
3    |
4 LL |         _ => eprintln!("Not red"),
5    |         ^
6    |
7 note: lint level defined here
8   --> $DIR/wildcard_enum_match_arm.rs:1:9
9    |
10 LL | #![deny(clippy::wildcard_enum_match_arm)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12    = note: to resolve, match each variant explicitly
13
14 error: aborting due to previous error
15