blob: 0b0b2443a4a464a3d2c43b64de9b70377b7d3461 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0493]: destructors cannot be evaluated at compile-time
--> $DIR/drop-fail.rs:8:9
|
LL | let x = Some(Vec::new());
| ^ constants cannot evaluate destructors
error[E0493]: destructors cannot be evaluated at compile-time
--> $DIR/drop-fail.rs:39:9
|
LL | let mut tmp = None;
| ^^^^^^^ constants cannot evaluate destructors
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0493`.
|