diff options
| author | Guillaume Boisseau <Nadrieril@users.noreply.github.com> | 2024-02-24 09:17:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-24 09:17:26 +0100 |
| commit | de4efa5e46d219f7622659c7a7551411520adf76 (patch) | |
| tree | 851b2a6e8a5c2fa205e0bc355664a5f0db60c5ed | |
| parent | 893cb760e0cf6af0b60e628bc3adade814c59953 (diff) | |
| download | rust-de4efa5e46d219f7622659c7a7551411520adf76.tar.gz rust-de4efa5e46d219f7622659c7a7551411520adf76.zip | |
Tweak debug!() call
Co-authored-by: matthewjasper <20113453+matthewjasper@users.noreply.github.com>
| -rw-r--r-- | compiler/rustc_mir_build/src/build/matches/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs index fab8f9d2254..60245a8c4b6 100644 --- a/compiler/rustc_mir_build/src/build/matches/mod.rs +++ b/compiler/rustc_mir_build/src/build/matches/mod.rs @@ -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 |
