Various changes to logging of borrowck-related code

This commit is contained in:
Jack Huey 2022-08-29 02:00:08 -04:00
parent 7c142a6137
commit 8033c3c27d
13 changed files with 41 additions and 84 deletions

View file

@ -105,8 +105,8 @@ impl<'tcx> fmt::Debug for OutlivesConstraint<'tcx> {
fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(
formatter,
"({:?}: {:?}) due to {:?} ({:?})",
self.sup, self.sub, self.locations, self.variance_info
"({:?}: {:?}) due to {:?} ({:?}) ({:?})",
self.sup, self.sub, self.locations, self.variance_info, self.category,
)
}
}