rust/compiler/rustc_trait_selection/src
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
..
solve Rollup merge of #114200 - compiler-errors:detect-tail-unsize-then-upcast, r=lcnr 2023-07-31 22:51:16 +02:00
traits inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
errors.rs convert to fluent, make plurals work 2023-06-28 18:08:21 +00:00
infer.rs allow opaques to be defined by trait queries 2023-07-14 12:35:33 +00:00
lib.rs remove hash_drain_filter feature uses 2023-06-14 09:28:56 +02:00