about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/coverageinfo.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-21 03:11:24 +0000
committerbors <bors@rust-lang.org>2024-02-21 03:11:24 +0000
commit096598dc79bcc6d79ea9c2194c83cda2c9e6f313 (patch)
tree1c2cb514905579a70a176f2b1eb4b6f688845abb /compiler/rustc_codegen_gcc/src/coverageinfo.rs
parent4e650749337bd4b0b464ebb5252d122b7cb98c8d (diff)
parenta45d8925b8af132d2dce4e16bd9599b82ddc5659 (diff)
downloadrust-096598dc79bcc6d79ea9c2194c83cda2c9e6f313.tar.gz
rust-096598dc79bcc6d79ea9c2194c83cda2c9e6f313.zip
Auto merge of #121172 - Nadrieril:simplify-empty-selection, r=matthewjasper
match lowering: simplify empty candidate selection

In match lowering, `match_simplified_candidates` is tasked with removing candidates that are fully matched and linking them up properly. The code that does that was needlessly complicated; this PR simplifies it.

The overall change isn't big but I split it up into tiny commits to convince myself that I was correctly preserving behavior. The test changes are all due to the first commit. Let me know if you'd prefer me to split up the PR to make reviewing easier.

r? `@matthewjasper`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/coverageinfo.rs')
0 files changed, 0 insertions, 0 deletions