1
Fork 0

Improve miri's error reporting in check_in_alloc

This commit is contained in:
LooMaclin 2019-04-02 18:24:57 +03:00
parent 705d75ef1a
commit 4c4dbb12d3

View file

@ -40,7 +40,6 @@ pub enum CheckInAllocMsg {
} }
impl Display for CheckInAllocMsg { impl Display for CheckInAllocMsg {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}", match *self { write!(f, "{}", match *self {
CheckInAllocMsg::ReadCStr => "read C str", CheckInAllocMsg::ReadCStr => "read C str",