Testcase: ``` rust #![feature(slice_patterns)] fn main() { let x: &[String] = &[]; let [[ref _a, _b..]..] = x; } ``` This clearly shouldn't type-check, but currently compiles without any error.