summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/drop_box.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/drop_box.stderr')
-rw-r--r--src/test/ui/consts/drop_box.stderr11
1 files changed, 0 insertions, 11 deletions
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<T>` cannot be evaluated at compile-time
- --> $DIR/drop_box.rs:1:15
- |
-LL | const fn f<T>(_: Box<T>) {}
- | ^ - 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`.