1
Fork 0

Actually infer args in visitors

This commit is contained in:
kadmin 2021-05-06 15:33:44 +00:00
parent 3605675bb1
commit 8759f00c73
30 changed files with 257 additions and 97 deletions

View file

@ -2559,7 +2559,9 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
}
GenericArg::Infer(inf) => {
self.visit_id(inf.hir_id);
i += 1;
if inf.kind.is_type() {
i += 1;
}
}
}
}