Skip to content

Commit de4efa5

Browse files
Tweak debug!() call
Co-authored-by: matthewjasper <[email protected]>
1 parent 893cb76 commit de4efa5

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir_build/src/build/matches

1 file changed

+1
-1
lines changed

compiler/rustc_mir_build/src/build/matches/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
15821582
let mut test = self.test(match_pair);
15831583
let match_place = match_pair.place.clone();
15841584

1585-
debug!("test_candidates: test={:?} match_pair={:?}", test, match_pair);
1585+
debug!(?test, ?match_pair);
15861586
// Most of the time, the test to perform is simply a function of the main candidate; but for
15871587
// a test like SwitchInt, we may want to add cases based on the candidates that are
15881588
// available

0 commit comments

Comments
 (0)