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

