mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
a0bf7d2cd3
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.