]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: `Err(_)` matches all errors |
2 | --> $DIR/match_wild_err_arm.rs:11: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:17: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:23: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:31: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 |