summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/match_wild_err_arm.stderr
blob: b016d682698c834a25a1c8dfd6fdfae1771a2fa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error: `Err(_)` matches all errors
  --> $DIR/match_wild_err_arm.rs:11:9
   |
LL |         Err(_) => panic!("err"),
   |         ^^^^^^
   |
   = note: match each error separately or use the error output, or use `.expect(msg)` if the error case is unreachable
   = note: `-D clippy::match-wild-err-arm` implied by `-D warnings`

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, or use `.expect(msg)` if the error case is unreachable

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, or use `.expect(msg)` if the error case is unreachable

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, or use `.expect(msg)` if the error case is unreachable

error: aborting due to 4 previous errors