rust/tests/ui/consts/drop_box.rs
2023-01-11 09:32:08 +00:00

5 lines
67 B
Rust

const fn f<T>(_: Box<T>) {}
//~^ ERROR destructor of
fn main() {}