1 error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time
2 --> $DIR/drop-fail.rs:8:9
4 LL | let x = Some(Vec::new());
5 | ^ the destructor for this type cannot be evaluated in constants
8 | - value is dropped here
10 error[E0493]: destructor of `(Vec<i32>,)` cannot be evaluated at compile-time
11 --> $DIR/drop-fail.rs:21:9
13 LL | let vec_tuple = (Vec::new(),);
14 | ^^^^^^^^^ the destructor for this type cannot be evaluated in constants
17 | - value is dropped here
19 error[E0493]: destructor of `Result<Vec<i32>, Vec<i32>>` cannot be evaluated at compile-time
20 --> $DIR/drop-fail.rs:29:9
22 LL | let x: Result<_, Vec<i32>> = Ok(Vec::new());
23 | ^ the destructor for this type cannot be evaluated in constants
26 | - value is dropped here
28 error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time
29 --> $DIR/drop-fail.rs:39:9
31 LL | let mut tmp = None;
32 | ^^^^^^^ the destructor for this type cannot be evaluated in constants
35 | - value is dropped here
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0493`.