summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr')
-rw-r--r--src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr b/src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr
index a3f513541..5f70391ee 100644
--- a/src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr
+++ b/src/test/ui/consts/stable-precise-live-drops-in-libcore.stderr
@@ -1,8 +1,8 @@
-error[E0493]: destructors cannot be evaluated at compile-time
+error[E0493]: destructor of `Either<T, T>` cannot be evaluated at compile-time
--> $DIR/stable-precise-live-drops-in-libcore.rs:13:25
|
LL | pub const fn unwrap(self) -> T {
- | ^^^^ constant functions cannot evaluate destructors
+ | ^^^^ the destructor for this type cannot be evaluated in constant functions
...
LL | }
| - value is dropped here