From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../recover-from-semicolon-trailing-item.stderr | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 src/test/ui/suggestions/recover-from-semicolon-trailing-item.stderr (limited to 'src/test/ui/suggestions/recover-from-semicolon-trailing-item.stderr') diff --git a/src/test/ui/suggestions/recover-from-semicolon-trailing-item.stderr b/src/test/ui/suggestions/recover-from-semicolon-trailing-item.stderr deleted file mode 100644 index 9588eedc9..000000000 --- a/src/test/ui/suggestions/recover-from-semicolon-trailing-item.stderr +++ /dev/null @@ -1,53 +0,0 @@ -error: expected item, found `;` - --> $DIR/recover-from-semicolon-trailing-item.rs:2:9 - | -LL | mod M {}; - | ^ help: remove this semicolon - -error: expected item, found `;` - --> $DIR/recover-from-semicolon-trailing-item.rs:4:12 - | -LL | struct S {}; - | ^ help: remove this semicolon - | - = help: braced struct declarations are not followed by a semicolon - -error: expected item, found `;` - --> $DIR/recover-from-semicolon-trailing-item.rs:6:20 - | -LL | fn foo(a: usize) {}; - | ^ help: remove this semicolon - -error[E0308]: mismatched types - --> $DIR/recover-from-semicolon-trailing-item.rs:10:20 - | -LL | let _: usize = S {}; - | ----- ^^^^ expected `usize`, found struct `S` - | | - | expected due to this - -error[E0308]: mismatched types - --> $DIR/recover-from-semicolon-trailing-item.rs:12:20 - | -LL | let _: usize = X {}; - | ----- ^^^^ expected `usize`, found struct `X` - | | - | expected due to this - -error[E0308]: mismatched types - --> $DIR/recover-from-semicolon-trailing-item.rs:14:9 - | -LL | foo(""); - | --- ^^ expected `usize`, found `&str` - | | - | arguments to this function are incorrect - | -note: function defined here - --> $DIR/recover-from-semicolon-trailing-item.rs:6:4 - | -LL | fn foo(a: usize) {}; - | ^^^ -------- - -error: aborting due to 6 previous errors - -For more information about this error, try `rustc --explain E0308`. -- cgit v1.2.3