1
Fork 0

Tweak debug!() call

Co-authored-by: matthewjasper <20113453+matthewjasper@users.noreply.github.com>
This commit is contained in:
Guillaume Boisseau 2024-02-24 09:17:26 +01:00 committed by GitHub
parent 893cb760e0
commit de4efa5e46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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