Skip to content

Commit 6f942a2

Browse files
committed
Reformat the changed line to make tidy happy
1 parent 6c61db4 commit 6f942a2

File tree

1 file changed

+3
-2
lines changed
  • compiler/rustc_trait_selection/src/traits/select

1 file changed

+3
-2
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1547,8 +1547,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
15471547
// Check if a bound would previously have been removed when normalizing
15481548
// the param_env so that it can be given the lowest priority. See
15491549
// #50825 for the motivation for this.
1550-
let is_global =
1551-
|cand: &ty::PolyTraitRef<'tcx>| cand.is_global(self.infcx.tcx) && !cand.has_late_bound_regions();
1550+
let is_global = |cand: &ty::PolyTraitRef<'tcx>| {
1551+
cand.is_global(self.infcx.tcx) && !cand.has_late_bound_regions()
1552+
};
15521553

15531554
// (*) Prefer `BuiltinCandidate { has_nested: false }`, `PointeeCandidate`,
15541555
// and `DiscriminantKindCandidate` to anything else.

0 commit comments

Comments
 (0)