diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index 61416f2b906d3..f661b83042868 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -317,7 +317,7 @@ impl Vec { /// let mut vec: Vec = Vec::new(); /// ``` #[inline] - #[rustc_const_stable(feature = "const_vec_new", since = "1.32.0")] + #[rustc_const_stable(feature = "const_vec_new", since = "1.39.0")] #[stable(feature = "rust1", since = "1.0.0")] pub const fn new() -> Vec { Vec { buf: RawVec::NEW, len: 0 }