Remove the call that makes miri fail
This commit is contained in:
parent
a674e1c88c
commit
57b1e7a428
1 changed files with 0 additions and 4 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue