change snapshot tracking in fulfillment contexts
This commit is contained in:
parent
46973c9c8a
commit
d04775d739
23 changed files with 79 additions and 121 deletions
|
@ -1282,7 +1282,7 @@ fn suggest_impl_trait<'tcx>(
|
|||
{
|
||||
continue;
|
||||
}
|
||||
let ocx = ObligationCtxt::new_in_snapshot(&infcx);
|
||||
let ocx = ObligationCtxt::new(&infcx);
|
||||
let item_ty = ocx.normalize(
|
||||
&ObligationCause::misc(span, def_id),
|
||||
param_env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue