diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-08-24 08:49:40 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-08-24 08:49:40 +0300 |
| commit | 31245cabecfc21c837745ec6253d63d5fc9ac75f (patch) | |
| tree | ab49be0356f796f19a490ff94c8ad810dd80aca6 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | cf358c09cebfe3e1c0d7145242396f6066033fad (diff) | |
| download | rust-31245cabecfc21c837745ec6253d63d5fc9ac75f.tar.gz rust-31245cabecfc21c837745ec6253d63d5fc9ac75f.zip | |
Fix opaque generics
The parent generics were incorrectly not considered for TAIT. I'm not convinced we should follow rustc here, also there are items (opaques) with more than 1 parent (opaque -> fn/type alias -> impl/trait) and I'm not sure we properly account for that in all places, but for now I left it as-is. Also fix a bug where lifetimes' indices were incorrect when there is a self param (they started from 0 instead of 1).
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
