Files
rust/compiler/rustc_middle
Matthias Krüger 92a7f5fa07 Rollup merge of #93593 - JulianKnodt:master, r=oli-obk
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
2022-02-04 14:59:04 +01:00
..
2022-01-19 13:44:43 -06:00

For more information about how rustc works, see the rustc dev guide.