diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-10-22 10:08:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 10:08:46 +0200 |
| commit | 703b042be8782cf207dd80ea559b047e3093a469 (patch) | |
| tree | fcb62a21260d882e6769061d94238cbf26bde085 /compiler/rustc_mir_transform/src/errors.rs | |
| parent | 1de57a5ce952c722f7053aeacfc6c90bc139b678 (diff) | |
| parent | 4b8f7f547aba0df1afe61b5bb4a3591e22b3cc43 (diff) | |
| download | rust-703b042be8782cf207dd80ea559b047e3093a469.tar.gz rust-703b042be8782cf207dd80ea559b047e3093a469.zip | |
Rollup merge of #131918 - Zalathar:counters, r=nnethercote
coverage: Make counter creation handle node/edge counters more uniformly Similar to #130380, this is another round of small improvements informed by my ongoing attempts to overhaul coverage counter creation. One of the big benefits is getting rid of the awkward special-case that would sometimes attach an edge counter to a node instead. That was needed by the code that chooses which out-edge should be given a counter expression, but we can avoid that by making the corresponding check a little smarter. I've also renamed several things to be simpler and more consistent, which should help with future changes.
Diffstat (limited to 'compiler/rustc_mir_transform/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
