Skip to content

Commit

Permalink
hygiene: Invert default transparency for procedural macros
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Jun 30, 2018
1 parent e8442a8 commit e0c3ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/ext/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ impl SyntaxExtension {
SyntaxExtension::ProcMacro { .. } |
SyntaxExtension::AttrProcMacro(..) |
SyntaxExtension::ProcMacroDerive(..) |
SyntaxExtension::DeclMacro { is_transparent: false, .. } => Transparency::Opaque,
SyntaxExtension::DeclMacro { is_transparent: true, .. } => Transparency::Transparent,
SyntaxExtension::DeclMacro { is_transparent: false, .. } => Transparency::Opaque,
_ => Transparency::SemiTransparent,
}
}
Expand Down

0 comments on commit e0c3ee5

Please sign in to comment.