From 6fbb64acbe0b833ac44e80b9bf2f0d6c779c5ec1 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Wed, 4 Sep 2013 04:39:57 +0200 Subject: [PATCH] Make non-pub condition! expand to non-pub mod. Fix #6009. --- src/libsyntax/ext/expand.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 202d75db399f..7e48fe4d4194 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)];