2017-09-02 02:35:01 -05:00
|
|
|
error[E0493]: destructors cannot be evaluated at compile-time
|
|
|
|
--> $DIR/E0493.rs:27:17
|
2016-09-02 12:55:14 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
|
2017-09-02 02:35:01 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constants cannot evaluate destructors
|
2016-09-02 12:55:14 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2016-09-02 12:55:14 -05:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0493`.
|