about summary refs log tree commit diff
path: root/src/libstd/error.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-05-30 20:46:59 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-11 13:47:27 -0700
commit8c30c5168694b8ee740dade3a0145eef8aba66c6 (patch)
treee097254988d37c738a9310b9590e1ac39615d383 /src/libstd/error.rs
parent3373204ac49ebdb7194020ea9c556ce87910f7b7 (diff)
downloadrust-8c30c5168694b8ee740dade3a0145eef8aba66c6.tar.gz
rust-8c30c5168694b8ee740dade3a0145eef8aba66c6.zip
Remove deprecated heap modules
The heap.rs file was already unused.
Diffstat (limited to 'src/libstd/error.rs')
-rw-r--r--src/libstd/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index 817eea5eaf1..3160485375f 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -23,13 +23,13 @@
 // coherence challenge (e.g., specialization, neg impls, etc) we can
 // reconsider what crate these items belong in.
 
+use alloc::{AllocErr, LayoutErr, CannotReallocInPlace};
 use any::TypeId;
 use borrow::Cow;
 use cell;
 use char;
 use core::array;
 use fmt::{self, Debug, Display};
-use heap::{AllocErr, LayoutErr, CannotReallocInPlace};
 use mem::transmute;
 use num;
 use str;