Remove allows_infer
now that every use of it is delegated to HirTyLowerer
This commit is contained in:
parent
6a2e15a6f0
commit
78706740d5
3 changed files with 0 additions and 11 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue