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 15:56:47 +00:00
--> $DIR/E0493.rs:17:17
|
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
| |
| the destructor for this type cannot be evaluated in constants
error: aborting due to previous error
2019-09-12 13:52:51 +00:00
For more information about this error, try `rustc --explain E0493`.