diff options
| author | varkor <github@varkor.com> | 2019-03-29 00:28:07 +0000 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-03-29 00:28:07 +0000 |
| commit | 44813dfcb68c670f6ff8b7d79cea5f75b9f02ab9 (patch) | |
| tree | 68753c176b3d794c3e626379f0caaf4ae2dff164 /src/librustc_save_analysis | |
| parent | 33ef0bad21d6bb646c7c3ab0dbf381ca96c324bf (diff) | |
| download | rust-44813dfcb68c670f6ff8b7d79cea5f75b9f02ab9.tar.gz rust-44813dfcb68c670f6ff8b7d79cea5f75b9f02ab9.zip | |
Rename `type_parameters` to `generics` and so on
Diffstat (limited to 'src/librustc_save_analysis')
| -rw-r--r-- | src/librustc_save_analysis/dump_visitor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_save_analysis/dump_visitor.rs b/src/librustc_save_analysis/dump_visitor.rs index 263f5acb662..7d400252594 100644 --- a/src/librustc_save_analysis/dump_visitor.rs +++ b/src/librustc_save_analysis/dump_visitor.rs @@ -659,7 +659,7 @@ impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> DumpVisitor<'l, 'tcx, 'll, O> { fn process_impl( &mut self, item: &'l ast::Item, - type_parameters: &'l ast::Generics, + generics: &'l ast::Generics, trait_ref: &'l Option<ast::TraitRef>, typ: &'l ast::Ty, impl_items: &'l [ast::ImplItem], @@ -678,7 +678,7 @@ impl<'l, 'tcx: 'l, 'll, O: DumpOutput + 'll> DumpVisitor<'l, 'tcx, 'll, O> { if let &Some(ref trait_ref) = trait_ref { self.process_path(trait_ref.ref_id, &trait_ref.path); } - self.process_generic_params(type_parameters, "", item.id); + self.process_generic_params(generics, "", item.id); for impl_item in impl_items { let map = &self.tcx.hir(); self.process_impl_item(impl_item, map.local_def_id(item.id)); |
