]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/traits/query/type_op/custom.rs
Rollup merge of #61273 - RalfJung:maybe-uninit, r=Centril
[rust.git] / src / librustc / traits / query / type_op / custom.rs
index 7e38282cc1adcd2d1d19dd4196f76cb7fb99f3c3..5933d2366e81c337a16652a2a5faa0e935d11a59 100644 (file)
@@ -97,7 +97,7 @@ fn scrape_region_constraints<'gcx, 'tcx, R>(
         region_obligations
             .iter()
             .map(|(_, r_o)| (r_o.sup_type, r_o.sub_region))
-            .map(|(ty, r)| (infcx.resolve_type_vars_if_possible(&ty), r)),
+            .map(|(ty, r)| (infcx.resolve_vars_if_possible(&ty), r)),
         &region_constraint_data,
     );