mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
36 lines
910 B
Text
36 lines
910 B
Text
|
error: `Err(_)` matches all errors
|
||
|
--> $DIR/match_wild_err_arm.rs:11:9
|
||
|
|
|
||
|
LL | Err(_) => panic!("err"),
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::match-wild-err-arm` implied by `-D warnings`
|
||
|
= note: match each error separately or use the error output
|
||
|
|
||
|
error: `Err(_)` matches all errors
|
||
|
--> $DIR/match_wild_err_arm.rs:17:9
|
||
|
|
|
||
|
LL | Err(_) => panic!(),
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: match each error separately or use the error output
|
||
|
|
||
|
error: `Err(_)` matches all errors
|
||
|
--> $DIR/match_wild_err_arm.rs:23:9
|
||
|
|
|
||
|
LL | Err(_) => {
|
||
|
| ^^^^^^
|
||
|
|
|
||
|
= note: match each error separately or use the error output
|
||
|
|
||
|
error: `Err(_e)` matches all errors
|
||
|
--> $DIR/match_wild_err_arm.rs:31:9
|
||
|
|
|
||
|
LL | Err(_e) => panic!(),
|
||
|
| ^^^^^^^
|
||
|
|
|
||
|
= note: match each error separately or use the error output
|
||
|
|
||
|
error: aborting due to 4 previous errors
|
||
|
|