rust/compiler/rustc_trait_selection
Matthias Krüger 580bd6e16f
Rollup merge of #141390 - compiler-errors:poly-select-new-solver, r=lcnr
Don't allow `poly_select` in new solver

I added a `poly_select` call in #140519, but this causes an ICE since the new solver doesn't properly handle the "instantiate binder -> recanonicalize" step in the proof tree visitor.

While we could fix the select visitor to look at the next step in proof tree, it's not really necessary. Instead, let's enforce that all callees call the non-higher-ranked `select` function in the new solver.

Fixes https://github.com/rust-lang/rust/issues/141322

r? lcnr
2025-05-22 16:04:16 +02:00
..
src Rollup merge of #141390 - compiler-errors:poly-select-new-solver, r=lcnr 2025-05-22 16:04:16 +02:00
Cargo.toml support duplicates in the opaque_types_storage 2025-05-06 14:59:09 +00:00
messages.ftl Disarm time bomb (diagnostics) 2025-05-09 12:09:15 +02:00