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