]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-70388-without-witness.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / ui / parser / issue-70388-without-witness.rs
1 // run-rustfix
2 // This is for checking if we can apply suggestions as-is.
3
4 pub struct Foo(i32);
5
6 fn main() {
7     let Foo(...) = Foo(0); //~ ERROR unexpected `...`
8     let [_, ..., _] = [0, 1]; //~ ERROR unexpected `...`
9 }