Skip to content

Commit 6fbb64a

Browse files
committed
Make non-pub condition! expand to non-pub mod. Fix #6009.
1 parent 83e19d2 commit 6fbb64a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libsyntax/ext/expand.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,7 @@ pub fn std_macros() -> @str {
909909

910910
{ $c:ident: $input:ty -> $out:ty; } => {
911911

912-
// FIXME (#6009): remove mod's `pub` below once variant above lands.
913-
pub mod $c {
912+
mod $c {
914913
#[allow(unused_imports)];
915914
#[allow(non_uppercase_statics)];
916915

0 commit comments

Comments
 (0)