]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const_prop_slice_pat_ice.rs
Rollup merge of #106951 - tmiasko:rm-simplify-initial, r=oli-obk
[rust.git] / tests / ui / consts / const_prop_slice_pat_ice.rs
1 // check-pass
2
3 fn main() {
4     match &[0, 1] as &[i32] {
5         [a @ .., x] => {}
6         &[] => {}
7     }
8 }