rust/tests/ui/consts/drop_box.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
67 B
Rust
Raw Normal View History

2022-03-10 14:28:28 +00:00
const fn f<T>(_: Box<T>) {}
//~^ ERROR destructor of
2022-03-10 14:28:28 +00:00
fn main() {}