rust/compiler/rustc_mir_transform/src/coverage/spans
Zalathar ab92699f4a 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.
2024-03-23 22:05:11 +11:00
..
from_mir.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00