fix rebase

This commit is contained in:
Esteban Küber 2020-03-29 19:53:58 -07:00
parent 2b35247d7a
commit 500504c0bd

View File

@ -148,10 +148,8 @@ struct TypeParamSpanVisitor<'tcx> {
impl Visitor<'tcx> for TypeParamSpanVisitor<'tcx> {
type Map = hir::intravisit::Map<'tcx>;
fn nested_visit_map<'this>(
&'this mut self,
) -> hir::intravisit::NestedVisitorMap<'this, Self::Map> {
hir::intravisit::NestedVisitorMap::OnlyBodies(&self.tcx.hir())
fn nested_visit_map(&mut self) -> hir::intravisit::NestedVisitorMap<Self::Map> {
hir::intravisit::NestedVisitorMap::OnlyBodies(self.tcx.hir())
}
fn visit_ty(&mut self, arg: &'tcx hir::Ty<'tcx>) {