fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time 2 --> $DIR/drop-fail.rs:8:9 3 | 4LL | let x = Some(Vec::new()); 5 | ^ the destructor for this type cannot be evaluated in constants 6... 7LL | }; 8 | - value is dropped here 9 10error[E0493]: destructor of `(Vec<i32>,)` cannot be evaluated at compile-time 11 --> $DIR/drop-fail.rs:21:9 12 | 13LL | let vec_tuple = (Vec::new(),); 14 | ^^^^^^^^^ the destructor for this type cannot be evaluated in constants 15... 16LL | }; 17 | - value is dropped here 18 19error[E0493]: destructor of `Result<Vec<i32>, Vec<i32>>` cannot be evaluated at compile-time 20 --> $DIR/drop-fail.rs:29:9 21 | 22LL | let x: Result<_, Vec<i32>> = Ok(Vec::new()); 23 | ^ the destructor for this type cannot be evaluated in constants 24... 25LL | }; 26 | - value is dropped here 27 28error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time 29 --> $DIR/drop-fail.rs:39:9 30 | 31LL | let mut tmp = None; 32 | ^^^^^^^ the destructor for this type cannot be evaluated in constants 33... 34LL | }; 35 | - value is dropped here 36 37error: aborting due to 4 previous errors 38 39For more information about this error, try `rustc --explain E0493`.