From a56196205b1919bee851bdfd7e76e9b3ae5090db Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Mon, 9 Mar 2020 23:07:04 -0400 Subject: [PATCH] Vec::new is const tstable in 1.39 not 1.32 --- src/liballoc/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }