summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/drop_box.rs
blob: 6799741307869140815c0cbf96b3101e10811100 (plain)
1
2
3
4
const fn f<T>(_: Box<T>) {}
//~^ ERROR destructor of

fn main() {}