about summary refs log tree commit diff
path: root/tests/coverage/branch/while.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-04 14:34:18 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-03-07 20:59:45 +1100
commitaf92a33deef026844c4594cc5eb7484527403425 (patch)
treee1fbee6fd713a76f9f77d3fbc02890960c16baf8 /tests/coverage/branch/while.rs
parent79439323843d4131a3685e704d14086d17ce79a1 (diff)
downloadrust-af92a33deef026844c4594cc5eb7484527403425.tar.gz
rust-af92a33deef026844c4594cc5eb7484527403425.zip
Make synthetic RPITIT assoc ty name handling more rigorous.
Currently it relies on special treatment of `kw::Empty`, which is really
easy to get wrong. This commit makes the special case clearer in the
type system by using `Option`. It's a bit clumsy, but the synthetic name
handling itself is a bit clumsy; better to make it explicit than sneak
it in.

Fixes #133426.
Diffstat (limited to 'tests/coverage/branch/while.rs')
0 files changed, 0 insertions, 0 deletions