]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/match_wildcard_for_single_variants.stderr
Merge branch 'master' into hooks
[rust.git] / src / tools / clippy / tests / ui / match_wildcard_for_single_variants.stderr
1 error: wildcard match will miss any future added variants
2   --> $DIR/match_wildcard_for_single_variants.rs:24:9
3    |
4 LL |         _ => {},
5    |         ^ help: try this: `Foo::C`
6    |
7    = note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings`
8
9 error: wildcard match will miss any future added variants
10   --> $DIR/match_wildcard_for_single_variants.rs:34:9
11    |
12 LL |         _ => {},
13    |         ^ help: try this: `Color::Blue`
14
15 error: wildcard match will miss any future added variants
16   --> $DIR/match_wildcard_for_single_variants.rs:42:9
17    |
18 LL |         _ => {},
19    |         ^ help: try this: `Color::Blue`
20
21 error: wildcard match will miss any future added variants
22   --> $DIR/match_wildcard_for_single_variants.rs:48:9
23    |
24 LL |         _ => {},
25    |         ^ help: try this: `Color::Blue`
26
27 error: aborting due to 4 previous errors
28