|
1 | 1 | error[E0493]: destructors cannot be evaluated at compile-time
|
2 |
| - --> $DIR/qualif-indirect-mutation-fail.rs:8:9 |
| 2 | + --> $DIR/qualif-indirect-mutation-fail.rs:9:9 |
3 | 3 | |
|
4 | 4 | LL | let mut a: (u32, Option<String>) = (0, None);
|
5 | 5 | | ^^^^^ constant functions cannot evaluate destructors
|
6 | 6 |
|
7 | 7 | error[E0493]: destructors cannot be evaluated at compile-time
|
8 |
| - --> $DIR/qualif-indirect-mutation-fail.rs:14:9 |
| 8 | + --> $DIR/qualif-indirect-mutation-fail.rs:15:9 |
9 | 9 | |
|
10 | 10 | LL | let mut x = None;
|
11 | 11 | | ^^^^^ constants cannot evaluate destructors
|
12 | 12 |
|
13 | 13 | error[E0493]: destructors cannot be evaluated at compile-time
|
14 |
| - --> $DIR/qualif-indirect-mutation-fail.rs:30:9 |
| 14 | + --> $DIR/qualif-indirect-mutation-fail.rs:31:9 |
15 | 15 | |
|
16 | 16 | LL | let _z = x;
|
17 | 17 | | ^^ constants cannot evaluate destructors
|
18 | 18 |
|
19 | 19 | error[E0493]: destructors cannot be evaluated at compile-time
|
20 |
| - --> $DIR/qualif-indirect-mutation-fail.rs:35:9 |
| 20 | + --> $DIR/qualif-indirect-mutation-fail.rs:36:9 |
21 | 21 | |
|
22 | 22 | LL | let x: Option<T> = None;
|
23 | 23 | | ^ constant functions cannot evaluate destructors
|
24 | 24 |
|
25 | 25 | error[E0493]: destructors cannot be evaluated at compile-time
|
26 |
| - --> $DIR/qualif-indirect-mutation-fail.rs:43:9 |
| 26 | + --> $DIR/qualif-indirect-mutation-fail.rs:44:9 |
27 | 27 | |
|
28 | 28 | LL | let _y = x;
|
29 | 29 | | ^^ constant functions cannot evaluate destructors
|
30 | 30 |
|
31 |
| -error: aborting due to 5 previous errors |
| 31 | +error[E0493]: destructors cannot be evaluated at compile-time |
| 32 | + --> $DIR/qualif-indirect-mutation-fail.rs:52:9 |
| 33 | + | |
| 34 | +LL | let mut y: Option<String> = None; |
| 35 | + | ^^^^^ constant functions cannot evaluate destructors |
| 36 | + |
| 37 | +error[E0493]: destructors cannot be evaluated at compile-time |
| 38 | + --> $DIR/qualif-indirect-mutation-fail.rs:49:9 |
| 39 | + | |
| 40 | +LL | let mut x: Option<String> = None; |
| 41 | + | ^^^^^ constant functions cannot evaluate destructors |
| 42 | + |
| 43 | +error[E0493]: destructors cannot be evaluated at compile-time |
| 44 | + --> $DIR/qualif-indirect-mutation-fail.rs:62:9 |
| 45 | + | |
| 46 | +LL | let y: Option<String> = None; |
| 47 | + | ^ constant functions cannot evaluate destructors |
| 48 | + |
| 49 | +error[E0493]: destructors cannot be evaluated at compile-time |
| 50 | + --> $DIR/qualif-indirect-mutation-fail.rs:59:9 |
| 51 | + | |
| 52 | +LL | let x: Option<String> = None; |
| 53 | + | ^ constant functions cannot evaluate destructors |
| 54 | + |
| 55 | +error: aborting due to 9 previous errors |
32 | 56 |
|
33 | 57 | For more information about this error, try `rustc --explain E0493`.
|
0 commit comments