diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-05-07 15:23:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-07 15:23:44 +0200 |
| commit | c29f8575acae4b1e533f630b51a639758919911c (patch) | |
| tree | 0069dcecc6f47d711990fa5b67ec039dedd56478 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 613920562215286a84dae65e63b7aff7061f7cdd (diff) | |
| parent | d4557529704e0ec6956bb1fadf666abe9b1a9a61 (diff) | |
| download | rust-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/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
