2022-09-23 09:22:36 -05:00
|
|
|
error[E0493]: destructor of `Either<T, T>` cannot be evaluated at compile-time
|
2020-09-16 15:19:45 -05:00
|
|
|
--> $DIR/stable-precise-live-drops-in-libcore.rs:13:25
|
|
|
|
|
|
|
|
|
LL | pub const fn unwrap(self) -> T {
|
2022-09-23 09:22:36 -05:00
|
|
|
| ^^^^ the destructor for this type cannot be evaluated in constant functions
|
2020-09-16 15:19:45 -05:00
|
|
|
...
|
|
|
|
LL | }
|
|
|
|
| - value is dropped here
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0493`.
|