rust/src/test/ui/span/E0493.stderr

10 lines
346 B
Plaintext
Raw Normal View History

2017-09-02 02:35:01 -05:00
error[E0493]: destructors cannot be evaluated at compile-time
--> $DIR/E0493.rs:27:17
|
2018-02-22 18:42:32 -06:00
LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
2017-09-02 02:35:01 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ constants cannot evaluate destructors
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0493`.