diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-04 14:34:18 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-07 20:59:45 +1100 |
| commit | cf0752527f1e1b91cff5683b59e49153187d9efe (patch) | |
| tree | 4bf805672d15664f31b1b62c37ce2f0661c2fee7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | e5c1d1cb7ee727246a6d453f52b5707e264387d5 (diff) | |
| download | rust-cf0752527f1e1b91cff5683b59e49153187d9efe.tar.gz rust-cf0752527f1e1b91cff5683b59e49153187d9efe.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 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
