summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/match-ref-ice.stderr
blob: fad0940baa441a8a0bea86d9ea1bb4bb31a2d490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable pattern
  --> $DIR/match-ref-ice.rs:13:9
   |
LL |         [1, 2, 3] => (),
   |         ^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/match-ref-ice.rs:1:9
   |
LL | #![deny(unreachable_patterns)]
   |         ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error