about summary refs log tree commit diff
path: root/compiler/rustc_llvm
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-05-07 15:23:44 +0200
committerGitHub <noreply@github.com>2022-05-07 15:23:44 +0200
commitc29f8575acae4b1e533f630b51a639758919911c (patch)
tree0069dcecc6f47d711990fa5b67ec039dedd56478 /compiler/rustc_llvm
parent613920562215286a84dae65e63b7aff7061f7cdd (diff)
parentd4557529704e0ec6956bb1fadf666abe9b1a9a61 (diff)
downloadrust-c29f8575acae4b1e533f630b51a639758919911c.tar.gz
rust-c29f8575acae4b1e533f630b51a639758919911c.zip
Rollup merge of #96581 - RalfJung:debug-size-align, r=oli-obk
make Size and Align debug-printing a bit more compact

In particular in `{:#?}`-mode, these take up a lot of space, so I think this is the better alternative (even though it is a bit longer in `{:?}` mode, I think it is still more readable).

We could make it even smaller by deviating further from what the actual code looks like, e.g. via something like `Size(4 bytes)`. Not sure what people would think about that?

Cc `````@oli-obk`````
Diffstat (limited to 'compiler/rustc_llvm')
0 files changed, 0 insertions, 0 deletions