summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/drop_box.rs
blob: 58a373a967388cf66d7217724a79371aa964ebe9 (plain)
1
2
3
4
const fn f<T>(_: Box<T>) {}
//~^ ERROR destructors cannot be evaluated at compile-time

fn main() {}