2020-01-30 03:06:42 +00:00
|
|
|
error: `Err(_)` matches all errors
|
2023-05-22 12:04:13 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:24:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!("err"),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 11:36:26 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2022-09-22 16:04:22 +00:00
|
|
|
= note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:32:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!(),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 11:36:26 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:40:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_) => {
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 11:36:26 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: `Err(_e)` matches all errors
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/match_wild_err_arm.rs:50:9
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
|
LL | Err(_e) => panic!(),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2022-09-09 11:36:26 +00:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 03:06:42 +00:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|