9 lines
166 B
Rust
9 lines
166 B
Rust
// check-pass
|
|
|
|
#![allow(forget_copy)]
|
|
|
|
const _: () = core::mem::forget(Box::<u32>::default);
|
|
const _: () = core::mem::forget(|| Box::<u32>::default());
|
|
|
|
fn main() {}
|