]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/once-cant-call-twice-on-heap.rs
Permit `#[deprecated]` in stdlib
[rust.git] / src / test / ui / once-cant-call-twice-on-heap.rs
index 9aefe1e5a2156a0603194bda4867efc12861654c..3fd8c5cadca98c80db915fecde5cb2df4d2f979a 100644 (file)
@@ -1,7 +1,6 @@
 // Testing guarantees provided by once functions.
 // This program would segfault if it were legal.
 
-#![feature(once_fns)]
 use std::sync::Arc;
 
 fn foo<F:FnOnce()>(blk: F) {