From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/issues/issue-43162.stderr | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/test/ui/issues/issue-43162.stderr (limited to 'src/test/ui/issues/issue-43162.stderr') diff --git a/src/test/ui/issues/issue-43162.stderr b/src/test/ui/issues/issue-43162.stderr deleted file mode 100644 index 40d920005..000000000 --- a/src/test/ui/issues/issue-43162.stderr +++ /dev/null @@ -1,24 +0,0 @@ -error[E0268]: `break` outside of a loop or labeled block - --> $DIR/issue-43162.rs:3:5 - | -LL | break true; - | ^^^^^^^^^^ cannot `break` outside of a loop or labeled block - -error[E0268]: `break` outside of a loop or labeled block - --> $DIR/issue-43162.rs:7:5 - | -LL | break {}; - | ^^^^^^^^ cannot `break` outside of a loop or labeled block - -error[E0308]: mismatched types - --> $DIR/issue-43162.rs:1:13 - | -LL | fn foo() -> bool { - | --- ^^^^ expected `bool`, found `()` - | | - | implicitly returns `()` as its body has no tail or `return` expression - -error: aborting due to 3 previous errors - -Some errors have detailed explanations: E0268, E0308. -For more information about an error, try `rustc --explain E0268`. -- cgit v1.2.3