From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../issue-70388-recover-dotdotdot-rest-pat.stderr | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.stderr (limited to 'src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.stderr') diff --git a/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.stderr b/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.stderr deleted file mode 100644 index 4961e8fc0..000000000 --- a/src/test/ui/parser/issues/issue-70388-recover-dotdotdot-rest-pat.stderr +++ /dev/null @@ -1,29 +0,0 @@ -error: unexpected `...` - --> $DIR/issue-70388-recover-dotdotdot-rest-pat.rs:4:13 - | -LL | let Foo(...) = Foo(0); - | ^^^ - | | - | not a valid pattern - | help: for a rest pattern, use `..` instead of `...` - -error: unexpected `...` - --> $DIR/issue-70388-recover-dotdotdot-rest-pat.rs:5:13 - | -LL | let [_, ..., _] = [0, 1]; - | ^^^ - | | - | not a valid pattern - | help: for a rest pattern, use `..` instead of `...` - -error[E0308]: mismatched types - --> $DIR/issue-70388-recover-dotdotdot-rest-pat.rs:6:33 - | -LL | let _recovery_witness: () = 0; - | -- ^ expected `()`, found integer - | | - | expected due to this - -error: aborting due to 3 previous errors - -For more information about this error, try `rustc --explain E0308`. -- cgit v1.2.3