Re-format let-else per rustfmt update
This commit is contained in:
@@ -376,7 +376,7 @@ fn impl_intersection_has_negative_obligation(
|
||||
// do the impls unify? If not, then it's not currently possible to prove any
|
||||
// obligations about their intersection.
|
||||
let Ok(InferOk { obligations: equate_obligations, .. }) =
|
||||
infcx.at(&ObligationCause::dummy(), impl_env).eq(DefineOpaqueTypes::No,subject1, subject2)
|
||||
infcx.at(&ObligationCause::dummy(), impl_env).eq(DefineOpaqueTypes::No, subject1, subject2)
|
||||
else {
|
||||
debug!("explicit_disjoint: {:?} does not unify with {:?}", subject1, subject2);
|
||||
return false;
|
||||
@@ -437,8 +437,7 @@ fn prove_negated_obligation<'tcx>(
|
||||
let body_def_id = body_def_id.as_local().unwrap_or(CRATE_DEF_ID);
|
||||
|
||||
let ocx = ObligationCtxt::new(&infcx);
|
||||
let Ok(wf_tys) = ocx.assumed_wf_types(param_env, body_def_id)
|
||||
else {
|
||||
let Ok(wf_tys) = ocx.assumed_wf_types(param_env, body_def_id) else {
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user