mirror of
https://github.com/rust-lang/rust.git
synced 2026-07-28 10:29:10 -04:00
Avoid ICEing in RPIT method chain suggestion In the case that the return type captures a lifetime, `skip_binder()` will cause the later `can_eq()` call to ICE, so we call `enter_forall()` with the binder instead. Probably best reviewed with ignore-whitespace. fixes rust-lang/rust#159685