diff options
| author | varkor <github@varkor.com> | 2019-09-26 14:39:48 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:09 +0100 |
| commit | 95f6d72a60461a4a432d7e8971bb6a1899456b56 (patch) | |
| tree | df668b1056098eb4f00c2426136aecb3c51f1936 /src/libsyntax/feature_gate | |
| parent | ddf43867a9cbb3766b48552632a602498fae2699 (diff) | |
| download | rust-95f6d72a60461a4a432d7e8971bb6a1899456b56.tar.gz rust-95f6d72a60461a4a432d7e8971bb6a1899456b56.zip | |
Rename `Expr.node` to `Expr.kind`
For both `ast::Expr` and `hir::Expr`.
Diffstat (limited to 'src/libsyntax/feature_gate')
| -rw-r--r-- | src/libsyntax/feature_gate/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate/check.rs b/src/libsyntax/feature_gate/check.rs index b50ca1ad1cf..516f3bb0e9e 100644 --- a/src/libsyntax/feature_gate/check.rs +++ b/src/libsyntax/feature_gate/check.rs @@ -456,7 +456,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> { } fn visit_expr(&mut self, e: &'a ast::Expr) { - match e.node { + match e.kind { ast::ExprKind::Box(_) => { gate_feature_post!(&self, box_syntax, e.span, EXPLAIN_BOX_SYNTAX); } |
