1 #![deny(unreachable_patterns)]
3 // The arity of `ref x` is always 1. If the pattern is compared to some non-structural type whose
4 // arity is always 0, an ICE occurs.
6 // Related issue: #23009
9 let homura = [1, 2, 3];
12 [1, ref _madoka, 3] => (),
13 [1, 2, 3] => (), //~ ERROR unreachable pattern