]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/canonical/substitute.rs
Auto merge of #98084 - nnethercote:rm-thread-local-IGNORED_ATTRIBUTES, r=michaelwoerister
[rust.git] / compiler / rustc_infer / src / infer / canonical / substitute.rs
index 553a11d4393f94ba0f3e1e14fdd1e8463745265a..45ed4b63009b4e3f3b53d81ed2b88e8bf2b5ae1a 100644 (file)
@@ -86,6 +86,6 @@ pub(super) fn substitute_value<'tcx, T>(
             c => bug!("{:?} is a const but value is {:?}", bound_ct, c),
         };
 
-        tcx.replace_escaping_bound_vars(value, fld_r, fld_t, fld_c)
+        tcx.replace_escaping_bound_vars_uncached(value, fld_r, fld_t, fld_c)
     }
 }