mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 20:27:06 +00:00
Avoid ICE caused by suggestion When suggesting dereferencing something that can be iterable in a `for` loop, erase lifetimes and use a fresh `ty::ParamEnv` to avoid 'region constraints already solved' panic. Fix #87657, fix #87709, fix #87651.