eagerly check whether we replace any bound vars
This commit is contained in:
parent
e61807c6bf
commit
3d26f5a000
3 changed files with 16 additions and 25 deletions
|
@ -572,7 +572,7 @@ impl<'a, 'tcx> ConfirmContext<'a, 'tcx> {
|
|||
|
||||
fn replace_bound_vars_with_fresh_vars<T>(&self, value: ty::Binder<'tcx, T>) -> T
|
||||
where
|
||||
T: TypeFoldable<'tcx>,
|
||||
T: TypeFoldable<'tcx> + Copy,
|
||||
{
|
||||
self.fcx.replace_bound_vars_with_fresh_vars(self.span, infer::FnCall, value)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue