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-65257-invalid-var-decl-recovery.stderr | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 src/test/ui/parser/issues/issue-65257-invalid-var-decl-recovery.stderr (limited to 'src/test/ui/parser/issues/issue-65257-invalid-var-decl-recovery.stderr') diff --git a/src/test/ui/parser/issues/issue-65257-invalid-var-decl-recovery.stderr b/src/test/ui/parser/issues/issue-65257-invalid-var-decl-recovery.stderr deleted file mode 100644 index 0a88dd2c4..000000000 --- a/src/test/ui/parser/issues/issue-65257-invalid-var-decl-recovery.stderr +++ /dev/null @@ -1,67 +0,0 @@ -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:2:5 - | -LL | auto n = 0; - | ^^^^ - | -help: write `let` instead of `auto` to introduce a new variable - | -LL | let n = 0; - | ~~~ - -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:4:5 - | -LL | auto m; - | ^^^^ - | -help: write `let` instead of `auto` to introduce a new variable - | -LL | let m; - | ~~~ - -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:8:5 - | -LL | var n = 0; - | ^^^ - | -help: write `let` instead of `var` to introduce a new variable - | -LL | let n = 0; - | ~~~ - -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:10:5 - | -LL | var m; - | ^^^ - | -help: write `let` instead of `var` to introduce a new variable - | -LL | let m; - | ~~~ - -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:14:5 - | -LL | mut n = 0; - | ^^^ help: missing keyword: `let mut` - -error: invalid variable declaration - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:16:5 - | -LL | mut var; - | ^^^ help: missing keyword: `let mut` - -error[E0308]: mismatched types - --> $DIR/issue-65257-invalid-var-decl-recovery.rs:20:33 - | -LL | let _recovery_witness: () = 0; - | -- ^ expected `()`, found integer - | | - | expected due to this - -error: aborting due to 7 previous errors - -For more information about this error, try `rustc --explain E0308`. -- cgit v1.2.3