mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
296733d5ac
Use select in projection lookup in `report_projection_error` Using `for_each_relevant_impl` doesn't actually select the correct impl; we can use `select` here to actually get the correct impl with certainty. Follow-up to https://github.com/rust-lang/rust/pull/140278. r? oli-obk