about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2017-06-13 21:57:49 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2017-06-15 23:48:31 +0200
commit12d4d12fef4f9024ffcc8eb5fef11f1a21074cd7 (patch)
treecbea264acfb3a0d9eba389f1476ec19eebad15bb /src/libstd/lib.rs
parent57ab9e7e7c481427a8d59e16b932fbd1e5fe4c02 (diff)
downloadrust-12d4d12fef4f9024ffcc8eb5fef11f1a21074cd7.tar.gz
rust-12d4d12fef4f9024ffcc8eb5fef11f1a21074cd7.zip
implement Error trait for error structs added in allocator API.
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 f307fbb7c00..6938aefb522 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -245,6 +245,7 @@
 // std is implemented with unstable features, many of which are internal
 // compiler details that will never be stable
 #![feature(alloc)]
+#![feature(allocator_api)]
 #![feature(allow_internal_unstable)]
 #![feature(asm)]
 #![feature(associated_consts)]