]> git.lizzy.rs Git - rust.git/blob - tests/ui/match_wild_err_arm.edition2018.stderr
Auto merge of #8374 - Alexendoo:bless-revisions, r=camsteffen
[rust.git] / tests / ui / match_wild_err_arm.edition2018.stderr
1 error: `Err(_)` matches all errors
2   --> $DIR/match_wild_err_arm.rs:14:9
3    |
4 LL |         Err(_) => panic!("err"),
5    |         ^^^^^^
6    |
7    = note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
8    = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
9
10 error: `Err(_)` matches all errors
11   --> $DIR/match_wild_err_arm.rs:20:9
12    |
13 LL |         Err(_) => panic!(),
14    |         ^^^^^^
15    |
16    = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
17
18 error: `Err(_)` matches all errors
19   --> $DIR/match_wild_err_arm.rs:26:9
20    |
21 LL |         Err(_) => {
22    |         ^^^^^^
23    |
24    = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
25
26 error: `Err(_e)` matches all errors
27   --> $DIR/match_wild_err_arm.rs:34:9
28    |
29 LL |         Err(_e) => panic!(),
30    |         ^^^^^^^
31    |
32    = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
33
34 error: aborting due to 4 previous errors
35