rust/compiler/rustc_trait_selection/src
Matthias Krüger da18cf8572
Rollup merge of #113625 - compiler-errors:structurally-norm-in-selection, r=lcnr
Structurally normalize in selection

We need to do this because of the fact that we're checking the `Ty::kind` on a type during selection, but goals passed into select are not necessarily normalized.

Right now, we're (kinda) unnecessarily normalizing the RHS of a trait upcasting goal, which is broken for different reasons (#113393). But I'm waiting for this PR to land before discussing that one.

r? `@lcnr`
2023-07-15 19:42:51 +02:00
..
solve Rollup merge of #113625 - compiler-errors:structurally-norm-in-selection, r=lcnr 2023-07-15 19:42:51 +02:00
traits Auto merge of #113471 - compiler-errors:new-solver-norm-escaping, r=lcnr 2023-07-14 21:14:30 +00:00
errors.rs IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00
infer.rs Fallible<_> -> Result<_, NoSolution> 2023-05-25 17:29:22 +00:00
lib.rs remove hash_drain_filter feature uses 2023-06-14 09:28:56 +02:00