2020-01-30 03:06:42 +00:00
|
|
|
error: `Err(_)` matches all errors
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:14:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!("err"),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
|
2020-05-28 13:45:24 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:20:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!(),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-05-28 13:45:24 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:26:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => {
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2020-05-28 13:45:24 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_e)` matches all errors
|
2021-11-04 12:52:36 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:34:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_e) => panic!(),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2020-05-28 13:45:24 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|