Make non-pub condition! expand to non-pub mod. Fix #6009.

This commit is contained in:
Felix S. Klock II 2013-09-04 04:39:57 +02:00
parent 83e19d2ead
commit 6fbb64acbe

View File

@ -909,8 +909,7 @@ pub mod $c {
{ $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)];