diff options
| author | Oliver 'ker' Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-09 11:56:59 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-11 12:34:48 +0100 |
| commit | e797e1961df00ec7725c47225dcf9b5a0e9fce64 (patch) | |
| tree | 1742d6186f4c02a8f043d9d213d00d67b73a37d0 /src/libsyntax/ast.rs | |
| parent | 798974cae58639c174010fd4a6411dcdc860e404 (diff) | |
[breaking-change] don't glob export ast::MacStmtStyle
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 6814f41f017..b94c033e48a 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -10,7 +10,6 @@ // The Rust abstract syntax tree. -pub use self::MacStmtStyle::*; pub use self::MetaItem_::*; pub use self::Mutability::*; pub use self::Pat_::*; @@ -782,13 +781,13 @@ impl StmtKind { pub enum MacStmtStyle { /// The macro statement had a trailing semicolon, e.g. `foo! { ... };` /// `foo!(...);`, `foo![...];` - MacStmtWithSemicolon, + Semicolon, /// The macro statement had braces; e.g. foo! { ... } - MacStmtWithBraces, + Braces, /// The macro statement had parentheses or brackets and no semicolon; e.g. /// `foo!(...)`. All of these will end up being converted into macro /// expressions. - MacStmtWithoutBraces, + NoBraces, } // FIXME (pending discussion of #1697, #2178...): local should really be |
