rust/tests/ui/match_wild_err_arm.stderr

37 lines
1.2 KiB
Plaintext
Raw Normal View History

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