diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-27 09:57:11 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-27 09:57:11 +0530 |
| commit | 7905452f083ab5ac3008dfe6727048e70bbeb142 (patch) | |
| tree | 48f73374f8f406245a88ba83c2f5407f21653b65 /src/libsyntax/util/node_count.rs | |
| parent | 35785712cd5e1acbfebd168c045b2e184ae979cc (diff) | |
| parent | dcea4b26268d19b32c7e29bf063638fa5e3bbd91 (diff) | |
| download | rust-7905452f083ab5ac3008dfe6727048e70bbeb142.tar.gz rust-7905452f083ab5ac3008dfe6727048e70bbeb142.zip | |
Rollup merge of #33644 - petrochenkov:selfast, r=nrc
The AST part of https://github.com/rust-lang/rust/pull/33505. https://github.com/rust-lang/rust/pull/33505 isn't landed yet, so this PR is based on top of it. r? @nrc plugin-[breaking-change] cc #31645 @Manishearth
Diffstat (limited to 'src/libsyntax/util/node_count.rs')
| -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 e692ec4452c..919dd84b117 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -129,10 +129,6 @@ impl<'v> Visitor<'v> for NodeCounter { self.count += 1; walk_lifetime_def(self, lifetime) } - fn visit_explicit_self(&mut self, es: &'v ExplicitSelf) { - self.count += 1; - walk_explicit_self(self, es) - } fn visit_mac(&mut self, _mac: &'v Mac) { self.count += 1; walk_mac(self, _mac) |
