Skip to content

Commit

Permalink
Tweak debug!() call
Browse files Browse the repository at this point in the history
Co-authored-by: matthewjasper <[email protected]>
  • Loading branch information
Nadrieril and matthewjasper authored Feb 24, 2024
1 parent 893cb76 commit de4efa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/build/matches/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
let mut test = self.test(match_pair);
let match_place = match_pair.place.clone();

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

0 comments on commit de4efa5

Please sign in to comment.