Do not erase regions
This commit is contained in:
parent
ddd9a9fb46
commit
fcf0ed9018
@ -719,7 +719,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
||||
.infcx
|
||||
.type_implements_trait(
|
||||
self.tcx.get_diagnostic_item(sym::Into).unwrap(),
|
||||
[self.tcx.erase_regions(f), self.tcx.erase_regions(e)],
|
||||
[f, e],
|
||||
self.param_env,
|
||||
)
|
||||
.must_apply_modulo_regions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user