Skip to content

Commit 0b4299a

Browse files
committed
fmt
1 parent 7771120 commit 0b4299a

File tree

1 file changed

+5
-4
lines changed
  • compiler/rustc_borrowck/src/region_infer

1 file changed

+5
-4
lines changed

compiler/rustc_borrowck/src/region_infer/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
399399
/// takes on must be a value that each of the regions within the
400400
/// SCC could have as well. This implies that the SCC must have
401401
/// the minimum, or narrowest, universe.
402-
#[instrument(level="debug", skip(constraint_sccs, definitions))]
402+
#[instrument(level = "debug", skip(constraint_sccs, definitions))]
403403
fn compute_scc_universes(
404404
constraint_sccs: &Sccs<RegionVid, ConstraintSccIndex>,
405405
definitions: &IndexSlice<RegionVid, RegionDefinition<'tcx>>,
@@ -760,7 +760,6 @@ impl<'tcx> RegionInferenceContext<'tcx> {
760760
debug!(?scc_b);
761761
debug!("scc_b is: {:?}", self.scc_representatives[scc_b]);
762762

763-
764763
// ...and add elements from `B` into `A`. One complication
765764
// arises because of universes: If `B` contains something
766765
// that `A` cannot name, then `A` can only contain `B` if
@@ -909,8 +908,10 @@ impl<'tcx> RegionInferenceContext<'tcx> {
909908
// scc_a's declared universe (typically, both are ROOT), then
910909
// it cannot contain any problematic universe elements.
911910
if universe_a.can_name(self.scc_universes[scc_b]) {
912-
debug!("{universe_a:?} of {scc_a:?} can name declared universe {declared_universe:?} of {scc_b:?}",
913-
declared_universe = self.scc_universes[scc_b]);
911+
debug!(
912+
"{universe_a:?} of {scc_a:?} can name declared universe {declared_universe:?} of {scc_b:?}",
913+
declared_universe = self.scc_universes[scc_b]
914+
);
914915
return true;
915916
}
916917

0 commit comments

Comments
 (0)