2020-01-30 12:06:42 +09:00
|
|
|
error: `Err(_)` matches all errors
|
2024-04-28 00:39:32 -04:00
|
|
|
--> tests/ui/match_wild_err_arm.rs:23:9
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!("err"),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 13:36:26 +02:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2022-09-22 20:04:22 +04:00
|
|
|
= note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
|
2023-08-01 14:02:21 +02:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::match_wild_err_arm)]`
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2024-04-28 00:39:32 -04:00
|
|
|
--> tests/ui/match_wild_err_arm.rs:31:9
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
|
LL | Err(_) => panic!(),
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 13:36:26 +02:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
error: `Err(_)` matches all errors
|
2024-04-28 00:39:32 -04:00
|
|
|
--> tests/ui/match_wild_err_arm.rs:39:9
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
|
LL | Err(_) => {
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2022-09-09 13:36:26 +02:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
error: `Err(_e)` matches all errors
|
2024-04-28 00:39:32 -04:00
|
|
|
--> tests/ui/match_wild_err_arm.rs:49:9
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
|
LL | Err(_e) => panic!(),
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2022-09-09 13:36:26 +02:00
|
|
|
= note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
|
2020-01-30 12:06:42 +09:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|