Actually infer args in visitors
This commit is contained in:
parent
3605675bb1
commit
8759f00c73
30 changed files with 257 additions and 97 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue