about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-24 02:47:37 +0200
committerGitHub <noreply@github.com>2020-04-24 02:47:37 +0200
commited25ca0efbb1f611ebf6f028ce4af3fdf9ef9c67 (patch)
treef0b33983d5632ba54de2acfef4a6f2f3b3315a8e /src/test/debuginfo/enum-thinlto.rs
parentfa7fb932cc6c5cb611061b0cba1e913b1d3e148f (diff)
parentc16b6e0faaad002be4b98f29400efe9605c395ae (diff)
downloadrust-ed25ca0efbb1f611ebf6f028ce4af3fdf9ef9c67.tar.gz
rust-ed25ca0efbb1f611ebf6f028ce4af3fdf9ef9c67.zip
Rollup merge of #71459 - divergentdave:pointer-offset-0x, r=RalfJung
Add leading 0x to offset in Debug fmt of Pointer

Currently the `Debug` format for `Pointer` prints its offset in hexadecimal, for example, `alloc38657819+e2` or `alloc35122748+64`. This PR adds a leading `0x` to the offset, in order to make it apparent that it is indeed a hexadecimal number. This came up during discussion of rust-lang/miri#1354. r? @RalfJung
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions