diff options
| author | Elichai Turkel <elichai.turkel@gmail.com> | 2020-05-20 13:23:51 +0300 |
|---|---|---|
| committer | Elichai Turkel <elichai.turkel@gmail.com> | 2020-05-20 16:39:03 +0300 |
| commit | ecd0a67b01e13d7a80d2f64bbfa5da1e568367e5 (patch) | |
| tree | 6e04a49a3d95ad218cbc4931e86b6e3889f90dc6 /tests | |
| parent | cafa94662ce3ffc1c8c1edca86e328fcc26ad3db (diff) | |
| download | rust-ecd0a67b01e13d7a80d2f64bbfa5da1e568367e5.tar.gz rust-ecd0a67b01e13d7a80d2f64bbfa5da1e568367e5.zip | |
Make match_wild_err_arm pedantic, and update help messages
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/match_wild_err_arm.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/match_wild_err_arm.stderr b/tests/ui/match_wild_err_arm.stderr index 20d4c933418..6a2a02987de 100644 --- a/tests/ui/match_wild_err_arm.stderr +++ b/tests/ui/match_wild_err_arm.stderr @@ -5,7 +5,7 @@ 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 + = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable error: `Err(_)` matches all errors --> $DIR/match_wild_err_arm.rs:17:9 @@ -13,7 +13,7 @@ error: `Err(_)` matches all errors LL | Err(_) => panic!(), | ^^^^^^ | - = note: match each error separately or use the error output + = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable error: `Err(_)` matches all errors --> $DIR/match_wild_err_arm.rs:23:9 @@ -21,7 +21,7 @@ error: `Err(_)` matches all errors LL | Err(_) => { | ^^^^^^ | - = note: match each error separately or use the error output + = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable error: `Err(_e)` matches all errors --> $DIR/match_wild_err_arm.rs:31:9 @@ -29,7 +29,7 @@ error: `Err(_e)` matches all errors LL | Err(_e) => panic!(), | ^^^^^^^ | - = note: match each error separately or use the error output + = note: match each error separately or use the error output, or use `.except(msg)` if the error case is unreachable error: aborting due to 4 previous errors |
