diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.rs b/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.rs deleted file mode 100644 index ca8abd78c..000000000 --- a/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.rs +++ /dev/null @@ -1,7 +0,0 @@ -struct Foo(i32); - -fn main() { - let Foo(...) = Foo(0); //~ ERROR unexpected `...` - let [_, ..., _] = [0, 1]; //~ ERROR unexpected `...` - let _recovery_witness: () = 0; //~ ERROR mismatched types -} |