summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/match_wild_err_arm.edition2018.stderr
blob: 2d66daea8046e15c67bb4a3d2d4b7ea00c19eb21 (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:14: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, or use `.expect(msg)` if the error case is unreachable

error: `Err(_)` matches all errors
  --> $DIR/match_wild_err_arm.rs:20: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:26: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:34: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