diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-26 02:16:55 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-26 02:17:27 +0000 |
| commit | 8748cd92d06328af657934f6728183c10f92eefe (patch) | |
| tree | 560b5d24cb0a944210e292ed47dd754af0ed1828 /src/libsyntax/util | |
| parent | 33ea1e330ccdda85a1501078c0b997fd27ce1e72 (diff) | |
| parent | f6fe5b6a3e3daf4c10410aec3802576f08c6343f (diff) | |
| download | rust-8748cd92d06328af657934f6728183c10f92eefe.tar.gz rust-8748cd92d06328af657934f6728183c10f92eefe.zip | |
Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb
Refactor away `ast::Decl`, refactor `ast::Stmt`, and rename `ast::ExprKind::Again` to `ast::ExprKind::Continue`.
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/node_count.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libsyntax/util/node_count.rs b/src/libsyntax/util/node_count.rs index 7c364a1603e..14244bbdddf 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -63,10 +63,6 @@ impl Visitor for NodeCounter { self.count += 1; walk_pat(self, p) } - fn visit_decl(&mut self, d: &Decl) { - self.count += 1; - walk_decl(self, d) - } fn visit_expr(&mut self, ex: &Expr) { self.count += 1; walk_expr(self, ex) |
