rust/tests/ui/span/E0493.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
453 B
Plaintext
Raw Normal View History

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
|
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
| |
| the destructor for this type cannot be evaluated in constants
error: aborting due to previous error
2019-09-12 08:52:51 -05:00
For more information about this error, try `rustc --explain E0493`.