about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.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
commitab92699f4a4bce54675012112693e9919ab19f54 (patch)
tree6882a3b127114d4741c66a6939aae2f8cb645718 /tests/coverage/branch/lazy-boolean.rs
parentc3b05c6e5b5b59613350b8c2875b0add67ed74df (diff)
downloadrust-ab92699f4a4bce54675012112693e9919ab19f54.tar.gz
rust-ab92699f4a4bce54675012112693e9919ab19f54.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/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions