diff options
| author | varkor <github@varkor.com> | 2018-05-28 15:23:16 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-06-20 12:23:07 +0100 |
| commit | 80dbe58efc7152cc9925012de0e568f36a9893a8 (patch) | |
| tree | e89f04a4b5be6b90df921ecc4506ab1e604438ea /src/libsyntax/util/node_count.rs | |
| parent | aed530a457dd937fa633dfe52cf07811196d3173 (diff) | |
| download | rust-80dbe58efc7152cc9925012de0e568f36a9893a8.tar.gz rust-80dbe58efc7152cc9925012de0e568f36a9893a8.zip | |
Use ParamBounds in WhereRegionPredicate
Diffstat (limited to 'src/libsyntax/util/node_count.rs')
| -rw-r--r-- | src/libsyntax/util/node_count.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/util/node_count.rs b/src/libsyntax/util/node_count.rs index 485775765ab..2d92f4b9531 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -95,9 +95,9 @@ impl<'ast> Visitor<'ast> for NodeCounter { self.count += 1; walk_trait_ref(self, t) } - fn visit_ty_param_bound(&mut self, bounds: &ParamBound) { + fn visit_param_bound(&mut self, bounds: &ParamBound) { self.count += 1; - walk_ty_param_bound(self, bounds) + walk_param_bound(self, bounds) } fn visit_poly_trait_ref(&mut self, t: &PolyTraitRef, m: &TraitBoundModifier) { self.count += 1; |
