]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const-eval/assign-to-static-within-other-static.rs
Rollup merge of #85766 - workingjubilee:file-options, r=yaahc
[rust.git] / src / test / ui / consts / const-eval / assign-to-static-within-other-static.rs
index 648caae30b4275fdf4dedfeae2a3122d97a759f6..ecf97223f6ada690c3ec193866e3d454bf698268 100644 (file)
@@ -1,8 +1,6 @@
 // New test for #53818: modifying static memory at compile-time is not allowed.
 // The test should never compile successfully
 
-#![feature(const_raw_ptr_deref)]
-
 use std::cell::UnsafeCell;
 
 static mut FOO: u32 = 42;