about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2015-01-01 16:37:47 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-01-05 18:21:13 -0800
commit0816255c80ee3f2a8870ee5e4379e3739d8ed72e (patch)
tree32b71b7a4d5f22d8b7ec66a64373acd08e258d5e /src/libstd
parent60be2f52d2434dfbf2df7728454d572d76f58bf8 (diff)
downloadrust-0816255c80ee3f2a8870ee5e4379e3739d8ed72e.tar.gz
rust-0816255c80ee3f2a8870ee5e4379e3739d8ed72e.zip
Move #[macro_reexport] to extern crate
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 3eda6d3374e..65c36d813f4 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -117,9 +117,6 @@
 
 #![reexport_test_harness_main = "test_main"]
 
-#![macro_reexport(assert, assert_eq, debug_assert, debug_assert_eq,
-    unreachable, unimplemented, write, writeln, vec)]
-
 #[cfg(all(test, stage0))]
 #[phase(plugin, link)]
 extern crate log;
@@ -134,6 +131,8 @@ extern crate core;
 
 #[cfg(not(stage0))]
 #[macro_use]
+#[macro_reexport(assert, assert_eq, debug_assert, debug_assert_eq,
+    unreachable, unimplemented, write, writeln)]
 extern crate core;
 
 #[cfg(stage0)]
@@ -142,6 +141,7 @@ extern crate "collections" as core_collections;
 
 #[cfg(not(stage0))]
 #[macro_use]
+#[macro_reexport(vec)]
 extern crate "collections" as core_collections;
 
 extern crate "rand" as core_rand;