rust/tests/ui/consts/const-eval/livedrop.stderr

13 lines
461 B
Plaintext
Raw Normal View History

error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time
2020-06-25 19:43:48 -05:00
--> $DIR/livedrop.rs:3:9
2020-06-20 15:38:57 -05:00
|
LL | let mut always_returned = None;
| ^^^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants
2020-06-20 15:38:57 -05:00
...
LL | always_returned = never_returned;
| --------------- value is dropped here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0493`.