Rollup merge of #139880 - compiler-errors:rpitit-nameless, r=nnethercote
Don't compute name of associated item if it's an RPITIT Use `Option::then` in favor of `Option::then_some` to not compute `AssocItem::name` if it fails the condition. Alternatively, I'd be open to changing this just to an `if`. Fixes https://github.com/rust-lang/rust/issues/139873 r? ```@nnethercote```
M
Matthias Krüger committed
ec6bdda983fd0e5253cd2fc9da8ca45896a3ef9f
Committed by GitHub <noreply@github.com>
on 4/16/2025, 11:45:30 AM