summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/drop_box.stderr
blob: b9d6581e8ecc847d4f94c710d1dcd6353429b36b (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0493]: destructors cannot be evaluated at compile-time
  --> $DIR/drop_box.rs:1:15
   |
LL | const fn f<T>(_: Box<T>) {}
   |               ^           - value is dropped here
   |               |
   |               constant functions cannot evaluate destructors

error: aborting due to previous error

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