about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-01 09:15:12 +0000
committerbors <bors@rust-lang.org>2020-05-01 09:15:12 +0000
commitfd61d06772d17c6242265d860fbfb5eafd282caa (patch)
tree3a741cd536f7537639fef81a96fba861d5e3aa1f /src/rustllvm/RustWrapper.cpp
parentbd0bacc694d7d8175804bb6f690cb846bfa4a9ee (diff)
parentcce0cb3c39e9a23cdb6d09d4258de2eded5b8f21 (diff)
downloadrust-fd61d06772d17c6242265d860fbfb5eafd282caa.tar.gz
rust-fd61d06772d17c6242265d860fbfb5eafd282caa.zip
Auto merge of #71704 - RalfJung:miri-error-print, r=oli-obk
Miri: tweak error print

I started by adjusting the "invalid use of int as pointer" message (it wasn't really clear what is invalid about the use). But then I realized that these are all `Debug` impls we use for these errors, for some reason, so I fixed that to use `Display` instead.

~~This includes https://github.com/rust-lang/rust/pull/71590 (to get the `Display` impl for `Pointer`), so the diff will look better once that finally lands. Here's the [relative diff](https://github.com/RalfJung/rust/compare/e72ebf5119e833b70231c3f2f8c7ca4904b1f0a3...RalfJung:miri-error-print).~~

r? @oli-obk
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions