2022-09-23 14:22:36 +00:00
|
|
|
error[E0493]: destructor of `(Foo, Foo)` cannot be evaluated at compile-time
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/E0493.rs:17:17
|
2016-09-02 19:55:14 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
|
2020-06-20 20:38:57 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here
|
|
|
|
| |
|
2022-09-23 14:22:36 +00:00
|
|
|
| the destructor for this type cannot be evaluated in constants
|
2016-09-02 19:55:14 +02:00
|
|
|
|
2017-07-02 13:49:30 +03:00
|
|
|
error: aborting due to previous error
|
2016-09-02 19:55:14 +02:00
|
|
|
|
2019-09-12 15:52:51 +02:00
|
|
|
For more information about this error, try `rustc --explain E0493`.
|