mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
717f9e3769
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.