about summary refs log tree commit diff
path: root/src/test/ui/unsafe-fn-called-from-unsafe-fn.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-29 10:41:01 +0000
committerbors <bors@rust-lang.org>2020-12-29 10:41:01 +0000
commit158f8d034b15e65ba8dc0d066358dd0632bfcd6e (patch)
treeff4da49406acf0d16cc087eb51821586dc6d240d /src/test/ui/unsafe-fn-called-from-unsafe-fn.rs
parente2a2592885539ca97bfb1232669e7519a0c0703b (diff)
parent5fce0dd787f319d229ecbd679781655549a418f2 (diff)
downloadrust-158f8d034b15e65ba8dc0d066358dd0632bfcd6e.tar.gz
rust-158f8d034b15e65ba8dc0d066358dd0632bfcd6e.zip
Auto merge of #80014 - jyn514:box-item-kind, r=nnethercote
[rustdoc] 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>() = 536
```

to

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

This is an alternative to https://github.com/rust-lang/rust/pull/79967; I don't think it makes sense to make both changes.

Helps with #79103.
Diffstat (limited to 'src/test/ui/unsafe-fn-called-from-unsafe-fn.rs')
0 files changed, 0 insertions, 0 deletions