fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
569 B15 linesraw
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
7error[E0493]: destructor of `Option<Vec<i32>>` cannot be evaluated at compile-time
8  --> $DIR/drop-fail.rs:39:9
9   |
10LL |     let mut tmp = None;
11   |         ^^^^^^^ the destructor for this type cannot be evaluated in constants
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0493`.