]>
Commit | Line | Data |
---|---|---|
5099ac24 FG |
1 | error[E0493]: destructors cannot be evaluated at compile-time |
2 | --> $DIR/drop_box.rs:1:15 | |
3 | | | |
4 | LL | const fn f<T>(_: Box<T>) {} | |
5 | | ^ - value is dropped here | |
6 | | | | |
7 | | constant functions cannot evaluate destructors | |
8 | ||
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0493`. |