File tree 1 file changed +5
-5
lines changed
src/librustc/mir/interpret
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ pub enum CheckInAllocMsg {
33
33
34
34
impl Display for CheckInAllocMsg {
35
35
/// When this is printed as an error the context looks like this
36
- /// "{test name} test failed: pointer must be in-bounds at offset..."
36
+ /// "{test name} failed: pointer must be in-bounds at offset..."
37
37
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
38
- write ! ( f, "{} test " , match * self {
38
+ write ! ( f, "{}" , match * self {
39
39
CheckInAllocMsg :: MemoryAccessTest => "Memory access" ,
40
- CheckInAllocMsg :: NullPointerTest => "Null pointer" ,
41
- CheckInAllocMsg :: PointerArithmeticTest => "Pointer arithmetic" ,
42
- CheckInAllocMsg :: InboundsTest => "Inbounds" ,
40
+ CheckInAllocMsg :: NullPointerTest => "Null pointer test " ,
41
+ CheckInAllocMsg :: PointerArithmeticTest => "Pointer arithmetic test " ,
42
+ CheckInAllocMsg :: InboundsTest => "Inbounds test " ,
43
43
} )
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments