diff options
| author | bors <bors@rust-lang.org> | 2022-07-29 18:44:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-29 18:44:53 +0000 |
| commit | 3924dac7bb29bc8eb348059c901e8f912399c857 (patch) | |
| tree | df1528b681e283e23213ee4cb98c83622f0aebbd /compiler/rustc_driver/src | |
| parent | 5dda74a48cd50de10539478c1e0b6699bfdab665 (diff) | |
| parent | fabb4b0661c1ece43d7e0011c88f9ae225691608 (diff) | |
| download | rust-3924dac7bb29bc8eb348059c901e8f912399c857.tar.gz rust-3924dac7bb29bc8eb348059c901e8f912399c857.zip | |
Auto merge of #99577 - est31:remove_box_librustdoc, r=jsha
Remove remaining uses of box syntax from librustdoc Remove the remaining uses of box syntax from librustdoc. Followup of #99066 where these changes were split out because they were responsible for a small but noticeable regression. This PR avoids the regression by boxing some large variants of `ItemKind` to reduce the enum's size by half from 224 bytes to 112 bytes (on x86-64). This should also help with reducing memory usage.
Diffstat (limited to 'compiler/rustc_driver/src')
0 files changed, 0 insertions, 0 deletions
