fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
257 B9 linesraw
1// run-rustfix
2// This is for checking if we can apply suggestions as-is.
3
4pub struct Foo(#[allow(unused_tuple_struct_fields)] i32);
5
6fn main() {
7    let Foo(..) = Foo(0); //~ ERROR unexpected `...`
8    let [_, .., _] = [0, 1]; //~ ERROR unexpected `...`
9}