]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/canonical/query_response.rs
Rollup merge of #82244 - pickfire:patch-6, r=dtolnay
[rust.git] / compiler / rustc_infer / src / infer / canonical / query_response.rs
index 074c9252481aa5bd709d8cd4306addc194b84b56..2ec9b9e0be4a81ef810a8231d18b5fc103380fd8 100644 (file)
@@ -507,12 +507,7 @@ fn unify_query_response_substitution_guess<R>(
 
         // Unify the original value for each variable with the value
         // taken from `query_response` (after applying `result_subst`).
-        Ok(self.unify_canonical_vars(
-            cause,
-            param_env,
-            original_values,
-            substituted_query_response,
-        )?)
+        self.unify_canonical_vars(cause, param_env, original_values, substituted_query_response)
     }
 
     /// Converts the region constraints resulting from a query into an