summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/match-arm-statics.stderr
blob: a5dffebf69967b90ca19123294a7fccee71d2751 (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
error: unreachable pattern
  --> $DIR/match-arm-statics.rs:25:9
   |
LL |         (true, true) => ()
   |         ^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/match-arm-statics.rs:2:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: unreachable pattern
  --> $DIR/match-arm-statics.rs:40:9
   |
LL |         Some(Some(East)) => (),
   |         ^^^^^^^^^^^^^^^^

error: unreachable pattern
  --> $DIR/match-arm-statics.rs:60:9
   |
LL |         Foo { bar: Some(EAST), baz: NewBool(false) } => ()
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors