1
Fork 0

Remove allows_infer now that every use of it is delegated to HirTyLowerer

This commit is contained in:
Oli Scherer 2024-05-31 13:42:13 +00:00
parent 6a2e15a6f0
commit 78706740d5
3 changed files with 0 additions and 11 deletions

View file

@ -374,10 +374,6 @@ impl<'tcx> HirTyLowerer<'tcx> for ItemCtxt<'tcx> {
self.item_def_id
}
fn allow_infer(&self) -> bool {
false
}
fn re_infer(
&self,
_: Option<&ty::GenericParamDef>,