rust/src/test/ui/issues/issue-26158.rs
2018-12-25 21:08:33 -07:00

7 lines
133 B
Rust

#![feature(slice_patterns)]
fn main() {
let x: &[u32] = &[];
let &[[ref _a, ref _b..]..] = x; //~ ERROR refutable pattern
}