summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-eval/livedrop.stderr
blob: d04fdb70ed30b84c7c28e3a0e00edce8d9f2b4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time
  --> $DIR/livedrop.rs:3:9
   |
LL |     let mut always_returned = None;
   |         ^^^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants
...
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`.