Fix rebase

This commit is contained in:
Esteban Küber 2022-11-23 12:15:22 -08:00
parent 0da4c44190
commit 78b8d126db
2 changed files with 2 additions and 3 deletions

View file

@ -740,8 +740,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
if infcx
.type_implements_trait(
tcx.lang_items().clone_trait().unwrap(),
tcx.erase_regions(ty),
ty::List::empty(),
[tcx.erase_regions(ty)],
self.param_env,
)
.must_apply_modulo_regions()