Skip to content

Commit 9e643e6

Browse files
LooMaclinRalfJung
andauthored
Improve miri's error reporting in check_in_alloc
Co-Authored-By: Ralf Jung <[email protected]>
1 parent ffd0dc7 commit 9e643e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/allocation.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Display for CheckInAllocMsg {
3838
write!(f, "{}", match *self {
3939
CheckInAllocMsg::MemoryAccessTest => "Memory access",
4040
CheckInAllocMsg::NullPointerTest => "Null pointer test",
41-
CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic test",
41+
CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic",
4242
CheckInAllocMsg::InboundsTest => "Inbounds test",
4343
})
4444
}

0 commit comments

Comments
 (0)