summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/match-ref-ice.stderr
blob: 0dbfa776f6959a7cb4eba954fb846e875f27e1df (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 1 previous error