not insta-stable
This commit is contained in:
parent
20ef0e001a
commit
c122b3a42c
2 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,7 @@
|
||||||
#![feature(pointer_methods)]
|
#![feature(pointer_methods)]
|
||||||
#![feature(inclusive_range_fields)]
|
#![feature(inclusive_range_fields)]
|
||||||
#![cfg_attr(stage0, feature(generic_param_attrs))]
|
#![cfg_attr(stage0, feature(generic_param_attrs))]
|
||||||
|
#![feature(rustc_const_unstable)]
|
||||||
|
|
||||||
#![cfg_attr(not(test), feature(fn_traits, i128))]
|
#![cfg_attr(not(test), feature(fn_traits, i128))]
|
||||||
#![cfg_attr(test, feature(test))]
|
#![cfg_attr(test, feature(test))]
|
||||||
|
|
|
@ -322,6 +322,7 @@ impl<T> Vec<T> {
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
#[rustc_const_unstable(feature = "const_vec_new")]
|
||||||
pub const fn new() -> Vec<T> {
|
pub const fn new() -> Vec<T> {
|
||||||
Vec {
|
Vec {
|
||||||
buf: RawVec::empty(),
|
buf: RawVec::empty(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue