Add necessary feature gate opt-in for the pushpop_unsafe test.
This commit is contained in:
parent
bb952358aa
commit
4a5fb4bd2a
@ -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…
x
Reference in New Issue
Block a user