about summary refs log tree commit diff
path: root/src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-13 11:32:57 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-23 12:50:35 -0500
commit4a4426377e8f1ad61dd6d4bb3525bbf2997889b9 (patch)
treea67eca9cc86d9b3ec90ca0569794785d879c2238 /src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs
parent3ffea60dd5a2260004cc4f487401ae7c7db1aa0e (diff)
downloadrust-4a4426377e8f1ad61dd6d4bb3525bbf2997889b9.tar.gz
rust-4a4426377e8f1ad61dd6d4bb3525bbf2997889b9.zip
Box ItemKind to reduce the size of `Item`
This brings the size of `Item` from

```
[src/librustdoc/lib.rs:103] std::mem::size_of::<Item>() = 680
```

to

```
[src/librustdoc/lib.rs:103] std::mem::size_of::<Item>() = 280
```
Diffstat (limited to 'src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs')
0 files changed, 0 insertions, 0 deletions