about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-12-12 16:41:18 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2020-01-30 11:18:56 +1100
commit0d69fe8308a76630a104504c14e1d3d74e2a3f15 (patch)
tree8539fc7552335e7298ae1b556c32286671d1fadf /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parenteed12bcd0cb281979c4c9ed956b9e41fda2bfaeb (diff)
downloadrust-0d69fe8308a76630a104504c14e1d3d74e2a3f15.tar.gz
rust-0d69fe8308a76630a104504c14e1d3d74e2a3f15.zip
Use `P` for `NtTraitItem`, `NtImplItem`, and `NtForeignItem`.
This commit reduces the size of `Nonterminal` from a whopping 240 bytes
to 72 bytes (on x86-64), which gets it below the `memcpy` threshold.

It also removes some impedance mismatches with `Annotatable`, which
already uses `P` for these variants.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions