]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/drop_box.rs
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / ui / consts / drop_box.rs
1 const fn f<T>(_: Box<T>) {}
2 //~^ ERROR destructor of
3
4 fn main() {}