summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorOliver 'ker' Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-09 11:56:59 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-11 12:34:48 +0100
commite797e1961df00ec7725c47225dcf9b5a0e9fce64 (patch)
tree1742d6186f4c02a8f043d9d213d00d67b73a37d0 /src/libsyntax/ext
parent798974cae58639c174010fd4a6411dcdc860e404 (diff)
downloadrust-e797e1961df00ec7725c47225dcf9b5a0e9fce64.tar.gz
rust-e797e1961df00ec7725c47225dcf9b5a0e9fce64.zip
[breaking-change] don't glob export ast::MacStmtStyle
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/expand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs
index bcd02fb8cb3..6b3e2501761 100644
--- a/src/libsyntax/ext/expand.rs
+++ b/src/libsyntax/ext/expand.rs
@@ -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 {