about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2023-10-18 09:04:13 +0000
committerAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2024-03-28 06:00:26 +0000
commit15c7e59c05d14be214ded1f8fe703bfb0c14ffa0 (patch)
tree51e39482927834c4b401d585fe453b89fc5467d7 /compiler/rustc_mir_transform/src/coverage/mod.rs
parentce91e46a1e9ad5126df1128068113d6f2d618827 (diff)
downloadrust-15c7e59c05d14be214ded1f8fe703bfb0c14ffa0.tar.gz
rust-15c7e59c05d14be214ded1f8fe703bfb0c14ffa0.zip
favor placeholders over existentials when choosing SCC representatives
... even when the existential has the least RegionVid.

universal regions (of root universe) > placeholders > existentials

The previous behavior, that chooses the minimal RegionVid index, naturally prefers universal regions over others
because they always have the least RegionVids, but there was no guranteed ordering between placeholders and existentials.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions