diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-70388-without-witness.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-70388-without-witness.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/parser/issues/issue-70388-without-witness.rs b/src/test/ui/parser/issues/issue-70388-without-witness.rs deleted file mode 100644 index bf3607308..000000000 --- a/src/test/ui/parser/issues/issue-70388-without-witness.rs +++ /dev/null @@ -1,9 +0,0 @@ -// run-rustfix -// This is for checking if we can apply suggestions as-is. - -pub struct Foo(#[allow(unused_tuple_struct_fields)] i32); - -fn main() { - let Foo(...) = Foo(0); //~ ERROR unexpected `...` - let [_, ..., _] = [0, 1]; //~ ERROR unexpected `...` -} |