diff options
| author | Rust <loo.maclin@protonmail.com> | 2019-05-26 14:44:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-26 14:44:58 +0300 |
| commit | 9e643e6792474cb0ae49873feb3ca65243469506 (patch) | |
| tree | b9ce3f4390f16a9e10d570cb87be3ed7f8232b4c | |
| parent | ffd0dc79dab71743cbb5b345c3d0400b4cb0e645 (diff) | |
| download | rust-9e643e6792474cb0ae49873feb3ca65243469506.tar.gz rust-9e643e6792474cb0ae49873feb3ca65243469506.zip | |
Improve miri's error reporting in check_in_alloc
Co-Authored-By: Ralf Jung <post@ralfj.de>
| -rw-r--r-- | src/librustc/mir/interpret/allocation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 718d9046f92..6b48db2cf85 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -38,7 +38,7 @@ impl Display for CheckInAllocMsg { write!(f, "{}", match *self { CheckInAllocMsg::MemoryAccessTest => "Memory access", CheckInAllocMsg::NullPointerTest => "Null pointer test", - CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic test", + CheckInAllocMsg::PointerArithmeticTest => "Pointer arithmetic", CheckInAllocMsg::InboundsTest => "Inbounds test", }) } |
