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/main-wrong-location.stderr | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/test/ui/main-wrong-location.stderr (limited to 'src/test/ui/main-wrong-location.stderr') diff --git a/src/test/ui/main-wrong-location.stderr b/src/test/ui/main-wrong-location.stderr deleted file mode 100644 index 3d64b0a67..000000000 --- a/src/test/ui/main-wrong-location.stderr +++ /dev/null @@ -1,17 +0,0 @@ -error[E0601]: `main` function not found in crate `main_wrong_location` - --> $DIR/main-wrong-location.rs:5:2 - | -LL | } - | ^ the main function must be defined at the crate level (in `$DIR/main-wrong-location.rs`) - | -note: here is a function named `main` - --> $DIR/main-wrong-location.rs:4:5 - | -LL | fn main() { } - | ^^^^^^^^^ - = note: you have one or more functions named `main` not defined at the crate level - = help: consider moving the `main` function definitions - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0601`. -- cgit v1.2.3