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