2022-09-23 14:22:36 +00:00
|
|
|
error[E0493]: destructor of `(Foo, Foo)` cannot be evaluated at compile-time
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/E0493.rs:17:17
|
2016-09-02 17:55:14 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00: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 17:55:14 +00:00
|
|
|
|
2017-07-02 10:49:30 +00:00
|
|
|
error: aborting due to previous error
|
2016-09-02 17:55:14 +00:00
|
|
|
|
2019-09-12 13:52:51 +00:00
|
|
|
For more information about this error, try `rustc --explain E0493`.
|