blob: 58721495dcd12b2d741fc7bb597f4ab4eff420ec [file] [log] [blame]
// run-rustfix
// This is for checking if we can apply suggestions as-is.
pub struct Foo(#[allow(dead_code)] i32);
fn main() {
let Foo(..) = Foo(0); //~ ERROR unexpected `...`
let [_, .., _] = [0, 1]; //~ ERROR unexpected `...`
}