Remove the call that makes miri fail

This commit is contained in:
DutchGhost 2020-03-16 10:51:00 +01:00
parent a674e1c88c
commit 57b1e7a428

View File

@ -142,8 +142,4 @@ fn test_const_forget() {
const fn const_forget_box<T>(x: Box<T>) {
forget(x);
}
// Call the forget_box at runtime,
// as we can't const-construct a box yet.
const_forget_box(Box::new(0i32));
}