Skip to content

Commit 63c888a

Browse files
committed
Auto merge of #153955 - aerooneqq:def-path-hash-collision, r=petrochenkov
delegation: fix def path hash collision, add per parent disambiguators This PR addresses the following delegation issues: - It fixes rust-lang/rust#153410 when generating new `DefId`s for generic parameters by ~saving `DisambiguatorState`s from resolve stage and using them at AST -> HIR lowering~ introducing per owner disambiguators and transferring them to AST -> HIR lowering stage - ~Next it fixes the ICE which is connected to using `DUMMY_SP` in delegation code, which was found during previous fix~ - ~Finally, after those fixes the rust-lang/rust#143498 is also fixed, only bugs with propagating synthetic generic params are left.~ Fixes rust-lang/rust#153410. Part of rust-lang/rust#118212. r? @petrochenkov
2 parents b0abb4d + 2c85c08 commit 63c888a

0 file changed

File tree

    0 commit comments

    Comments
     (0)