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