about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-24 22:38:58 +0100
committerGitHub <noreply@github.com>2024-02-24 22:38:58 +0100
commitf4ba47f1edd371f9f13e969ae9908a1656a74c69 (patch)
tree3169ea763930251e4a5b27ba4ad6832f613a0b03 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parented75229a97d2d7b5f2f3c39ad0006847a8342429 (diff)
parentde4efa5e46d219f7622659c7a7551411520adf76 (diff)
downloadrust-f4ba47f1edd371f9f13e969ae9908a1656a74c69.tar.gz
rust-f4ba47f1edd371f9f13e969ae9908a1656a74c69.zip
Rollup merge of #121374 - Nadrieril:factor-explain, r=matthewjasper
match lowering: Split off `test_candidates` into several functions and improve comments

The logic of `test_candidates` has three steps: pick a test, sort the candidates, and generate code for everything. So I split it off into three methods.

I also ended up reworking the comments that explain the algorithm. In particular I added detailed examples. I removed the digression about https://github.com/rust-lang/rust/issues/29740 because it's no longer relevant to how the code is structured today.

r? ``@matthewjasper``
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions