Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save-analysis: Nest typeck tables when processing functions/methods #64250

Merged
merged 7 commits into from Sep 16, 2019

save-analysis: Use process_bounds when processing opaque impl item type

...since the code is literally the same and does the same thing.
  • Loading branch information...
Xanewok committed Sep 13, 2019
commit b4151dd3211f4a9e8f980994a094f4b85149cd46
@@ -1109,11 +1109,7 @@ impl<'l, 'tcx> DumpVisitor<'l, 'tcx> {
// FIXME: uses of the assoc type should ideally point to this
// 'def' and the name here should be a ref to the def in the
// trait.
for bound in bounds.iter() {
if let ast::GenericBound::Trait(trait_ref, _) = bound {
self.process_path(trait_ref.trait_ref.ref_id, &trait_ref.trait_ref.path)
}
}
self.process_bounds(&bounds);
}
ast::ImplItemKind::Macro(_) => {}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.