diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-04-30 15:23:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 15:23:13 -0700 |
| commit | 3c75f701707b529143df6ac2d5872f2cad1d6aa9 (patch) | |
| tree | 505b9a47a9cec3f59c6ee17b205601960d2bce55 /library/std/src | |
| parent | 01fffff677e49d94ea4ea1d729b26e8c298fba7a (diff) | |
| parent | b12faeb0273de202d9b3764cbcfd35860e6593f1 (diff) | |
| download | rust-3c75f701707b529143df6ac2d5872f2cad1d6aa9.tar.gz rust-3c75f701707b529143df6ac2d5872f2cad1d6aa9.zip | |
Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obk
MIR dump: print pointers consistently with Miri output This makes MIR allocation dump pointer printing consistent with Miri output: both use hexadecimal offsets with a `0x` prefix. To save some space, MIR dump replaces the `alloc` prefix by `a` when necessary. I also made AllocId/Pointer printing more consistent in their Debug/Display handling, and adjusted Display printing for Scalar a bit to avoid using decimal printing when we do not know the sign with which to interpret the value (IMO using decimal then is misleading).
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions
