]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/span/vec-must-not-hide-type-from-dropck.rs
Rollup merge of #44562 - eddyb:ugh-rustdoc, r=nikomatsakis
[rust.git] / src / test / ui / span / vec-must-not-hide-type-from-dropck.rs
index 310ab20489a35b84ea2eb6b6f238a4791da77a04..d99f3bb19dbad6bba56befb803c0654221f675bc 100644 (file)
@@ -23,7 +23,7 @@
 // conditions above to be satisfied, meaning that if the dropck is
 // sound, it should reject this code.
 
-#![feature(const_fn)]
+#![feature(const_atomic_usize_new)]
 
 use std::cell::Cell;
 use id::Id;