diff options
| author | lcnr <rust@lcnr.de> | 2023-06-29 10:02:26 +0200 | 
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-06-29 10:02:26 +0200 | 
| commit | d04775d73967db9734e1184f527f4885a552d512 (patch) | |
| tree | bed7bb6dd4de471c9c4cae319eafbd78a5ba7484 /compiler/rustc_hir_analysis/src/collect.rs | |
| parent | 46973c9c8a775faa92eb10c478490c9b69f2eab6 (diff) | |
| download | rust-d04775d73967db9734e1184f527f4885a552d512.tar.gz rust-d04775d73967db9734e1184f527f4885a552d512.zip | |
change snapshot tracking in fulfillment contexts
Diffstat (limited to 'compiler/rustc_hir_analysis/src/collect.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/collect.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_hir_analysis/src/collect.rs b/compiler/rustc_hir_analysis/src/collect.rs index 8b5c1791fc1..66885c6255d 100644 --- a/compiler/rustc_hir_analysis/src/collect.rs +++ b/compiler/rustc_hir_analysis/src/collect.rs @@ -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, | 
