]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/E0493.stderr
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb
[rust.git] / src / test / ui / span / E0493.stderr
1 error[E0493]: destructors cannot be evaluated at compile-time
2   --> $DIR/E0493.rs:17:17
3    |
4 LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
5    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here
6    |                 |
7    |                 constants cannot evaluate destructors
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0493`.