mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 12:16:38 +00:00
The code originally correctly erased the regions of the type it passed to the newly created infcx. But after the `fn_sig` query was made to return an `EarlyBinder<T>`, some substs that were around were substituted there without erasing their regions. They were then passed into the newly cerated infcx, which caused the ICE.