ScalarMaybeUninit is explicitly hexadecimal in its formatting
This commit is contained in:
parent
b8967b0d52
commit
fb1ee8764f
3 changed files with 8 additions and 8 deletions
|
@ -142,11 +142,11 @@ impl<Tag: Provenance> std::fmt::Display for ImmTy<'_, Tag> {
|
|||
p(cx, s, ty)?;
|
||||
return Ok(());
|
||||
}
|
||||
write!(f, "{}: {}", s, self.layout.ty)
|
||||
write!(f, "{:x}: {}", s, self.layout.ty)
|
||||
}
|
||||
Immediate::ScalarPair(a, b) => {
|
||||
// FIXME(oli-obk): at least print tuples and slices nicely
|
||||
write!(f, "({}, {}): {}", a, b, self.layout.ty,)
|
||||
write!(f, "({:x}, {:x}): {}", a, b, self.layout.ty,)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue