Skip to content

Commit 175b2a0

Browse files
committed
Make non-pub condition! expand to non-pub mod. Fix rust-lang#6009.
1 parent b3ddeb0 commit 175b2a0

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
@@ -905,8 +905,7 @@ pub fn std_macros() -> @str {
905905

906906
{ $c:ident: $input:ty -> $out:ty; } => {
907907

908-
// FIXME (#6009): remove mod's `pub` below once variant above lands.
909-
pub mod $c {
908+
mod $c {
910909
#[allow(non_uppercase_statics)];
911910
static key: ::std::local_data::Key<
912911
@::std::condition::Handler<$input, $out>> =

0 commit comments

Comments
 (0)