mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
92a7f5fa07
Fix ret > 1 bound if shadowed by const Prior to a change, it would only look at types in bounds. When it started looking for consts, shadowing type variables with a const would cause an ICE, so now defer looking at consts only if there are no types present. cc ``````@compiler-errors`````` Should Fix #93553
For more information about how rustc works, see the rustc dev guide.