diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-12 17:52:55 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-05-06 20:42:25 +1000 |
| commit | 4d5a1acebfe031ca2af75786295a2cd2a0633943 (patch) | |
| tree | a0b54774a87c3b03b526566969c395a0dd4add2c /tests/coverage/drop_trait.coverage | |
| parent | 651e9cf327358b28db7e37a2ae61727f4a2ef232 (diff) | |
| download | rust-4d5a1acebfe031ca2af75786295a2cd2a0633943.tar.gz rust-4d5a1acebfe031ca2af75786295a2cd2a0633943.zip | |
coverage: Only merge adjacent coverage spans
This also removes some manipulation of the function signature span that only made sense in the context of merging non-adjacent spans.
Diffstat (limited to 'tests/coverage/drop_trait.coverage')
| -rw-r--r-- | tests/coverage/drop_trait.coverage | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/coverage/drop_trait.coverage b/tests/coverage/drop_trait.coverage index 85d557573cf..10ed8c0f154 100644 --- a/tests/coverage/drop_trait.coverage +++ b/tests/coverage/drop_trait.coverage @@ -13,16 +13,16 @@ LL| | LL| 1|fn main() -> Result<(), u8> { LL| 1| let _firecracker = Firework { strength: 1 }; - LL| 1| + LL| | LL| 1| let _tnt = Firework { strength: 100 }; - LL| 1| + LL| | LL| 1| if true { LL| 1| println!("Exiting with error..."); LL| 1| return Err(1); LL| 0| } - LL| 0| + LL| | LL| 0| let _ = Firework { strength: 1000 }; - LL| 0| + LL| | LL| 0| Ok(()) LL| 1|} LL| | |
