mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +00:00
rustdoc: Avoid ICE on unevaluated `type const` projections in array lengths `clean_middle_ty` used `normalize_erasing_regions` when rendering array lengths, which panics on unevaluatable associated const projections such as `<T as Trait>::ASSOC` under mGCA. Fixes rust-lang/rust#158155