Skip to content

Commit 63c4a1c

Browse files
committed
WIP infer/mod.rs : pacify mercilous tidy
1 parent 79de8bd commit 63c4a1c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustc/infer/mod.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -964,8 +964,10 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
964964
self.commit_if_ok(|snapshot| {
965965
let (ty::OutlivesPredicate(r_a, r_b), placeholder_map) =
966966
self.replace_bound_vars_with_placeholders(predicate);
967-
let origin =
968-
SubregionOrigin::from_obligation_cause(cause, || RelateRegionParamBound(cause.span));
967+
let origin = SubregionOrigin::from_obligation_cause(
968+
cause,
969+
|| RelateRegionParamBound(cause.span),
970+
);
969971
self.sub_regions(origin, r_b, r_a); // `b : a` ==> `a <= b`
970972
self.leak_check(false, &placeholder_map, snapshot)?;
971973
Ok(())

0 commit comments

Comments
 (0)