about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-24 17:08:16 +0100
committerGitHub <noreply@github.com>2024-03-24 17:08:16 +0100
commit1ee4ae9eb2e31cb5ce5f256f93116e86b46e4f59 (patch)
tree258c84652478714f4d935235a0eaacef2bf4a734 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentabbe1ba6f2e09a79ceee53bd6645265c6bb8f0f2 (diff)
parent95c7fde6b116daf2bd9078216f560b65edc87737 (diff)
downloadrust-1ee4ae9eb2e31cb5ce5f256f93116e86b46e4f59.tar.gz
rust-1ee4ae9eb2e31cb5ce5f256f93116e86b46e4f59.zip
Rollup merge of #122937 - Zalathar:unbox, r=oli-obk
Unbox and unwrap the contents of `StatementKind::Coverage`

The payload of coverage statements was historically a structure with several fields, so it was boxed to avoid bloating `StatementKind`.

Now that the payload is a single relatively-small enum, we can replace `Box<Coverage>` with just `CoverageKind`.

This patch also adds a size assertion for `StatementKind`, to avoid accidentally bloating it in the future.

``@rustbot`` label +A-code-coverage
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions