@@ -2,7 +2,9 @@ error[E0493]: destructors cannot be evaluated at compile-time
22 --> $DIR/min_const_fn.rs:37:25
33 |
44LL | const fn into_inner(self) -> T { self.0 }
5- | ^^^^ constant functions cannot evaluate destructors
5+ | ^^^^ - value is dropped here
6+ | |
7+ | constant functions cannot evaluate destructors
68
79error[E0723]: mutable references in const fn are unstable
810 --> $DIR/min_const_fn.rs:39:36
@@ -17,7 +19,9 @@ error[E0493]: destructors cannot be evaluated at compile-time
1719 --> $DIR/min_const_fn.rs:44:28
1820 |
1921LL | const fn into_inner_lt(self) -> T { self.0 }
20- | ^^^^ constant functions cannot evaluate destructors
22+ | ^^^^ - value is dropped here
23+ | |
24+ | constant functions cannot evaluate destructors
2125
2226error[E0723]: mutable references in const fn are unstable
2327 --> $DIR/min_const_fn.rs:46:42
@@ -32,7 +36,9 @@ error[E0493]: destructors cannot be evaluated at compile-time
3236 --> $DIR/min_const_fn.rs:51:27
3337 |
3438LL | const fn into_inner_s(self) -> T { self.0 }
35- | ^^^^ constant functions cannot evaluate destructors
39+ | ^^^^ - value is dropped here
40+ | |
41+ | constant functions cannot evaluate destructors
3642
3743error[E0723]: mutable references in const fn are unstable
3844 --> $DIR/min_const_fn.rs:53:38
0 commit comments