diff options
| author | varkor <github@varkor.com> | 2018-05-28 13:33:28 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2018-06-20 12:22:46 +0100 |
| commit | aed530a457dd937fa633dfe52cf07811196d3173 (patch) | |
| tree | d7848036bf766e1153e965028d8c4c5c8ecb5940 /src/libsyntax/util/node_count.rs | |
| parent | a5328bc17b8d18083478554b3381d55183647f15 (diff) | |
| download | rust-aed530a457dd937fa633dfe52cf07811196d3173.tar.gz rust-aed530a457dd937fa633dfe52cf07811196d3173.zip | |
Lift bounds into GenericParam
Diffstat (limited to 'src/libsyntax/util/node_count.rs')
| -rw-r--r-- | src/libsyntax/util/node_count.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/node_count.rs b/src/libsyntax/util/node_count.rs index 95ae9f9bcf8..485775765ab 100644 --- a/src/libsyntax/util/node_count.rs +++ b/src/libsyntax/util/node_count.rs @@ -95,7 +95,7 @@ impl<'ast> Visitor<'ast> for NodeCounter { self.count += 1; walk_trait_ref(self, t) } - fn visit_ty_param_bound(&mut self, bounds: &TyParamBound) { + fn visit_ty_param_bound(&mut self, bounds: &ParamBound) { self.count += 1; walk_ty_param_bound(self, bounds) } |
