From de4efa5e46d219f7622659c7a7551411520adf76 Mon Sep 17 00:00:00 2001 From: Guillaume Boisseau Date: Sat, 24 Feb 2024 09:17:26 +0100 Subject: [PATCH] Tweak debug!() call Co-authored-by: matthewjasper <20113453+matthewjasper@users.noreply.github.com> --- compiler/rustc_mir_build/src/build/matches/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir_build/src/build/matches/mod.rs b/compiler/rustc_mir_build/src/build/matches/mod.rs index fab8f9d2254d9..60245a8c4b66c 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