]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/match_wildcard_for_single_variants.stderr
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / tests / ui / match_wildcard_for_single_variants.stderr
1 error: wildcard matches only a single variant and will also match any future added variants
2   --> $DIR/match_wildcard_for_single_variants.rs:24:13
3    |
4 LL |             _ => (),
5    |             ^ help: try this: `Self::Rgb(..)`
6    |
7    = note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings`
8
9 error: wildcard matches only a single variant and will also match any future added variants
10   --> $DIR/match_wildcard_for_single_variants.rs:34:9
11    |
12 LL |         _ => {},
13    |         ^ help: try this: `Foo::C`
14
15 error: wildcard matches only a single variant and will also match any future added variants
16   --> $DIR/match_wildcard_for_single_variants.rs:44:9
17    |
18 LL |         _ => {},
19    |         ^ help: try this: `Color::Blue`
20
21 error: wildcard matches only a single variant and will also match any future added variants
22   --> $DIR/match_wildcard_for_single_variants.rs:52:9
23    |
24 LL |         _ => {},
25    |         ^ help: try this: `Color::Blue`
26
27 error: wildcard matches only a single variant and will also match any future added variants
28   --> $DIR/match_wildcard_for_single_variants.rs:58:9
29    |
30 LL |         _ => {},
31    |         ^ help: try this: `Color::Blue`
32
33 error: wildcard matches only a single variant and will also match any future added variants
34   --> $DIR/match_wildcard_for_single_variants.rs:75:9
35    |
36 LL |         &_ => (),
37    |         ^^ help: try this: `Color::Blue`
38
39 error: wildcard matches only a single variant and will also match any future added variants
40   --> $DIR/match_wildcard_for_single_variants.rs:84:9
41    |
42 LL |         _ => (),
43    |         ^ help: try this: `C::Blue`
44
45 error: wildcard matches only a single variant and will also match any future added variants
46   --> $DIR/match_wildcard_for_single_variants.rs:91:9
47    |
48 LL |         _ => (),
49    |         ^ help: try this: `Color::Blue`
50
51 error: aborting due to 8 previous errors
52