]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/drop_box.rs
Rollup merge of #94731 - TaKO8Ki:const-generic-expr-recovery, r=davidtwco,oli-obk
[rust.git] / src / test / ui / consts / drop_box.rs
1 const fn f<T>(_: Box<T>) {}
2 //~^ ERROR destructors cannot be evaluated at compile-time
3
4 fn main() {}