rust/src/test/ui/consts/const-eval/livedrop.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
416 B
Plaintext
Raw Normal View History

2020-06-20 15:38:57 -05:00
error[E0493]: destructors 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;
| ^^^^^^^^^^^^^^^^^^^ constants cannot evaluate destructors
...
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`.