summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/drop_zst.stderr
blob: d4be5aa56d9af00fda3dccc9899c418d1e0cad35 (plain)
1
2
3
4
5
6
7
8
9
error[E0493]: destructors cannot be evaluated at compile-time
  --> $DIR/drop_zst.rs:14:9
   |
LL |     let s = S;
   |         ^ constant functions cannot evaluate destructors

error: aborting due to previous error

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