[breaking-change] don't glob export ast::MacStmtStyle

This commit is contained in:
Oliver 'ker' Schneider
2016-02-09 11:56:59 +01:00
committed by Oliver Schneider
parent 798974cae5
commit e797e1961d
4 changed files with 13 additions and 14 deletions

View File

@@ -533,7 +533,7 @@ fn expand_stmt(stmt: P<Stmt>, fld: &mut MacroExpander) -> SmallVector<P<Stmt>> {
// If this is a macro invocation with a semicolon, then apply that
// semicolon to the final statement produced by expansion.
if style == MacStmtWithSemicolon {
if style == MacStmtStyle::Semicolon {
if let Some(stmt) = fully_expanded.pop() {
let new_stmt = stmt.map(|Spanned {node, span}| {
Spanned {