summaryrefslogtreecommitdiffstats
path: root/src/test/ui/span/E0493.stderr
blob: 29d1b000943211902f8973e1aee5c19a4da506da (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0493]: destructors cannot be evaluated at compile-time
  --> $DIR/E0493.rs:17:17
   |
LL | const F : Foo = (Foo { a : 0 }, Foo { a : 1 }).1;
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here
   |                 |
   |                 constants cannot evaluate destructors

error: aborting due to previous error

For more information about this error, try `rustc --explain E0493`.