1
Fork 0

improve debug message by eagerly translating

This commit is contained in:
Deadbeef 2023-05-29 03:32:38 +00:00
parent 4f83717cf7
commit f964b46451
4 changed files with 31 additions and 16 deletions

View file

@ -232,7 +232,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
op
}
Err(e) => {
trace!("get_const failed: {e:?}");
trace!("get_const failed: {:?}", e.debug());
return None;
}
};