2022-09-23 09:22:36 -05:00
|
|
|
error[E0493]: destructor of `(Foo, Foo)` cannot be evaluated at compile-time
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0493.rs:17: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;
|
2020-06-20 15:38:57 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here
|
|
|
|
| |
|
2022-09-23 09:22:36 -05:00
|
|
|
| the destructor for this type cannot be evaluated in constants
|
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
|
|
|
|
2019-09-12 08:52:51 -05:00
|
|
|
For more information about this error, try `rustc --explain E0493`.
|