summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-15 08:18:58 +0000
committerbors <bors@rust-lang.org>2018-03-15 08:18:58 +0000
commita4af6f089b2836530f31b6b839bde7cea8ae0b8a (patch)
tree97697f1b86297947058e61e93b01881e616c0a01 /src/libstd/lib.rs
parent5ebf74851d685f75abec7ef4e805f75fc301460c (diff)
parent06057d9143bc42f82c35b20c5c26fbfce58abc95 (diff)
downloadrust-a4af6f089b2836530f31b6b839bde7cea8ae0b8a.tar.gz
rust-a4af6f089b2836530f31b6b839bde7cea8ae0b8a.zip
Auto merge of #48648 - snf:fallible_allocation, r=Kimundi
Fallible allocation

Implementing RFC#2116 [Fallible Allocation](https://github.com/rust-lang/rust/issues/48043) .
Work in progress. Initially adding @Gankro's try_reserve for Vec.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index eea0e6b6752..1dec2e9177c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -314,6 +314,7 @@
 #![feature(thread_local)]
 #![feature(toowned_clone_into)]
 #![feature(try_from)]
+#![feature(try_reserve)]
 #![feature(unboxed_closures)]
 #![feature(unicode)]
 #![feature(untagged_unions)]