stabilize const mem::forget

This commit is contained in:
Dodo 2020-06-30 10:53:11 +02:00
parent a1528c432e
commit a065096ff4
3 changed files with 1 additions and 4 deletions

View file

@ -1,7 +1,5 @@
// check-pass
#![feature(const_forget)]
use std::mem::forget;
const _: () = forget(0i32);