2018-05-08 06:59:26 -05:00
|
|
|
error[E0019]: constant contains unimplemented expression type
|
2018-12-28 13:05:22 -06:00
|
|
|
--> $DIR/const_let.rs:13:55
|
2018-05-08 06:59:26 -05:00
|
|
|
|
|
|
|
|
LL | const Y: FakeNeedsDrop = { let mut x = FakeNeedsDrop; x = FakeNeedsDrop; x };
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error[E0019]: constant contains unimplemented expression type
|
2018-12-28 13:05:22 -06:00
|
|
|
--> $DIR/const_let.rs:17:35
|
2018-05-08 06:59:26 -05:00
|
|
|
|
|
|
|
|
LL | const Z: () = { let mut x = None; x = Some(FakeNeedsDrop); };
|
|
|
|
| ^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0019`.
|