about summary refs log tree commit diff
path: root/src/libsyntax/config.rs
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-08 15:34:47 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-11 12:34:48 +0100
commit79fa657abc6b8885ceb4023099b4e0026c5ef28f (patch)
tree47b5b4bada4def35e5da8f19b4af309f887c8421 /src/libsyntax/config.rs
parent8516ba367d1f51318ce373fe9b60650c82ded1e9 (diff)
[breaking-change] don't glob export ast::Decl_ variants
Diffstat (limited to 'src/libsyntax/config.rs')
-rw-r--r--src/libsyntax/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/config.rs b/src/libsyntax/config.rs
index 64b16538f05..e849de0b1c6 100644
--- a/src/libsyntax/config.rs
+++ b/src/libsyntax/config.rs
@@ -373,7 +373,7 @@ impl<'v, 'a, 'b> visit::Visitor<'v> for StmtExprAttrFeatureVisitor<'a, 'b> {
         if stmt_attrs.len() > 0 {
             // attributes on items are fine
             if let ast::StmtDecl(ref decl, _) = s.node {
-                if let ast::DeclItem(_) = decl.node {
+                if let ast::DeclKind::Item(_) = decl.node {
                     visit::walk_stmt(self, s);
                     return;
                 }