|
1 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 1 | +error: wildcard matches only a single variant and will also match any future added variants |
2 | 2 | --> $DIR/match_wildcard_for_single_variants.rs:24:13 |
3 | 3 | | |
4 | 4 | LL | _ => (), |
5 | 5 | | ^ help: try this: `Self::Rgb(..)` |
6 | 6 | | |
7 | 7 | = note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings` |
8 | 8 |
|
9 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 9 | +error: wildcard matches only a single variant and will also match any future added variants |
10 | 10 | --> $DIR/match_wildcard_for_single_variants.rs:34:9 |
11 | 11 | | |
12 | 12 | LL | _ => {}, |
13 | 13 | | ^ help: try this: `Foo::C` |
14 | 14 |
|
15 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 15 | +error: wildcard matches only a single variant and will also match any future added variants |
16 | 16 | --> $DIR/match_wildcard_for_single_variants.rs:44:9 |
17 | 17 | | |
18 | 18 | LL | _ => {}, |
19 | 19 | | ^ help: try this: `Color::Blue` |
20 | 20 |
|
21 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 21 | +error: wildcard matches only a single variant and will also match any future added variants |
22 | 22 | --> $DIR/match_wildcard_for_single_variants.rs:52:9 |
23 | 23 | | |
24 | 24 | LL | _ => {}, |
25 | 25 | | ^ help: try this: `Color::Blue` |
26 | 26 |
|
27 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 27 | +error: wildcard matches only a single variant and will also match any future added variants |
28 | 28 | --> $DIR/match_wildcard_for_single_variants.rs:58:9 |
29 | 29 | | |
30 | 30 | LL | _ => {}, |
31 | 31 | | ^ help: try this: `Color::Blue` |
32 | 32 |
|
33 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 33 | +error: wildcard matches only a single variant and will also match any future added variants |
34 | 34 | --> $DIR/match_wildcard_for_single_variants.rs:75:9 |
35 | 35 | | |
36 | 36 | LL | &_ => (), |
37 | 37 | | ^^ help: try this: `Color::Blue` |
38 | 38 |
|
39 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 39 | +error: wildcard matches only a single variant and will also match any future added variants |
40 | 40 | --> $DIR/match_wildcard_for_single_variants.rs:84:9 |
41 | 41 | | |
42 | 42 | LL | _ => (), |
43 | 43 | | ^ help: try this: `C::Blue` |
44 | 44 |
|
45 | | -error: match on non-exhaustive enum doesn't explicitly match all known variants |
| 45 | +error: wildcard matches only a single variant and will also match any future added variants |
46 | 46 | --> $DIR/match_wildcard_for_single_variants.rs:91:9 |
47 | 47 | | |
48 | 48 | LL | _ => (), |
|
0 commit comments