Add necessary feature gate opt-in for the pushpop_unsafe test.
This commit is contained in:
parent
bb952358aa
commit
4a5fb4bd2a
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
|||
// positive number of pushes in the stack, or if we are within a
|
||||
// normal `unsafe` block, but otherwise cannot.
|
||||
|
||||
#![feature(pushpop_unsafe)]
|
||||
|
||||
static mut X: i32 = 0;
|
||||
|
||||
unsafe fn f() { X += 1; return; }
|
||||
|
|
Loading…
Reference in a new issue