rust/compiler/rustc_trait_selection
Matthias Krüger c73e232d20
Rollup merge of #114200 - compiler-errors:detect-tail-unsize-then-upcast, r=lcnr
Detect trait upcasting through struct tail unsizing in new solver select

Oops, we were able to hide trait upcasting behind a parent unsize goal that evaluated to `Certainty::Yes`. Let's do rematching for `Certainty::Yes` unsize goals with `BuiltinImplSource::Misc` sources (corresponding to all of the other unsize rules) to make sure we end up selecting any nested goals which may be satisfied via `BuiltinImplSource::TraitUpcasting` or `::TupleUnsizing`.

r? ``@lcnr``
2023-07-31 22:51:16 +02:00
..
src Rollup merge of #114200 - compiler-errors:detect-tail-unsize-then-upcast, r=lcnr 2023-07-31 22:51:16 +02:00
Cargo.toml
messages.ftl convert to fluent, make plurals work 2023-06-28 18:08:21 +00:00