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 --- src/test/ui/consts/drop_box.stderr | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/test/ui/consts/drop_box.stderr (limited to 'src/test/ui/consts/drop_box.stderr') diff --git a/src/test/ui/consts/drop_box.stderr b/src/test/ui/consts/drop_box.stderr deleted file mode 100644 index 62324939b..000000000 --- a/src/test/ui/consts/drop_box.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0493]: destructor of `Box` cannot be evaluated at compile-time - --> $DIR/drop_box.rs:1:15 - | -LL | const fn f(_: Box) {} - | ^ - value is dropped here - | | - | the destructor for this type cannot be evaluated in constant functions - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0493`. -- cgit v1.2.3