about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-04-30 14:06:24 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-05-01 17:02:18 +0300
commit730c7222ee85bbea677f08447ca83bf539a1bdf8 (patch)
treea0daccd40cb4c89dd6da24e1e6a7124456f67be2 /src/libstd
parentd98100b9679609516c9cbf67eac3ec35e0e5d5fc (diff)
downloadrust-730c7222ee85bbea677f08447ca83bf539a1bdf8.tar.gz
rust-730c7222ee85bbea677f08447ca83bf539a1bdf8.zip
Fix an error from "unused" lint + Fix rebase
Diffstat (limited to 'src/libstd')
-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 c6ee5b57be2..fc05833e285 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -353,6 +353,7 @@ pub use core::{assert_eq, assert_ne, debug_assert, debug_assert_eq, debug_assert
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use core::{unreachable, unimplemented, write, writeln, try};
 
+#[allow(unused_imports)] // macros from `alloc` are not used on all platforms
 #[macro_use]
 extern crate alloc as alloc_crate;
 extern crate alloc_system;