about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2013-09-04 04:39:57 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2013-09-04 10:05:10 +0200
commit6fbb64acbe0b833ac44e80b9bf2f0d6c779c5ec1 (patch)
tree255ac70273f37c67badc5e25b6e746587bddabee
parent83e19d2eada77ded543cd6edf5a4b6351a79a0f9 (diff)
downloadrust-6fbb64acbe0b833ac44e80b9bf2f0d6c779c5ec1.tar.gz
rust-6fbb64acbe0b833ac44e80b9bf2f0d6c779c5ec1.zip
Make non-pub condition! expand to non-pub mod. Fix #6009.
-rw-r--r--src/libsyntax/ext/expand.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs
index 202d75db399..7e48fe4d419 100644
--- a/src/libsyntax/ext/expand.rs
+++ b/src/libsyntax/ext/expand.rs
@@ -909,8 +909,7 @@ pub fn std_macros() -> @str {
 
         { $c:ident: $input:ty -> $out:ty; } => {
 
-            // FIXME (#6009): remove mod's `pub` below once variant above lands.
-            pub mod $c {
+            mod $c {
                 #[allow(unused_imports)];
                 #[allow(non_uppercase_statics)];