Skip to content

Commit e0c3ee5

Browse files
committed
hygiene: Invert default transparency for procedural macros
1 parent e8442a8 commit e0c3ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ext/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ impl SyntaxExtension {
678678
SyntaxExtension::ProcMacro { .. } |
679679
SyntaxExtension::AttrProcMacro(..) |
680680
SyntaxExtension::ProcMacroDerive(..) |
681-
SyntaxExtension::DeclMacro { is_transparent: false, .. } => Transparency::Opaque,
682681
SyntaxExtension::DeclMacro { is_transparent: true, .. } => Transparency::Transparent,
682+
SyntaxExtension::DeclMacro { is_transparent: false, .. } => Transparency::Opaque,
683683
_ => Transparency::SemiTransparent,
684684
}
685685
}

0 commit comments

Comments
 (0)