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:
authorZalathar <Zalathar@users.noreply.github.com>2024-03-23 19:13:52 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-03-23 22:05:11 +1100
commit95c7fde6b116daf2bd9078216f560b65edc87737 (patch)
tree4a9107c620262b9d108e494c4f8983b269035322 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parenta9511585655c5ab232007354914252e4fdfc719e (diff)
downloadrust-95c7fde6b116daf2bd9078216f560b65edc87737.tar.gz
rust-95c7fde6b116daf2bd9078216f560b65edc87737.zip
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.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions