about summary refs log tree commit diff
path: root/src/test/ui/const-generics/array-size-in-generic-struct-param.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-09 03:10:09 +0200
committerGitHub <noreply@github.com>2020-05-09 03:10:09 +0200
commit2b3a114633c23acb96f94ed66b620e74b832c19b (patch)
tree5903be7640d312c9d2b581d53889a07de713b011 /src/test/ui/const-generics/array-size-in-generic-struct-param.rs
parentd16d02b0114bbe86e5b674bf15b324cf7805b059 (diff)
parent001496c0ebb27373ace8bd019b78b3f02ce531d1 (diff)
downloadrust-2b3a114633c23acb96f94ed66b620e74b832c19b.tar.gz
rust-2b3a114633c23acb96f94ed66b620e74b832c19b.zip
Rollup merge of #71942 - nnethercote:shrink-LocalDecl, r=matthewjasper
Shrink `LocalDecl`

`LocalDecl` contributes 4-8% of peak heap memory usage on a range of benchmarks. This PR reduces its size from 128 bytes to 56 bytes on 64-bit, and does some clean-ups as well.

r? @matthewjasper
Diffstat (limited to 'src/test/ui/const-generics/array-size-in-generic-struct-param.rs')
0 files changed, 0 insertions, 0 deletions