rust/compiler/rustc_trait_selection/src
bors aeb5067967 Auto merge of #100315 - compiler-errors:norm-ct-in-proj, r=lcnr
Keep going if normalized projection has unevaluated consts in `QueryNormalizer`

#100312 was the wrong approach, I think this is the right one.

When normalizing a type, if we see that it's a projection, we currently defer to `tcx.normalize_projection_ty`, which normalizes the projections away but doesn't touch the unevaluated constants. So now we just continue to fold the type if it has unevaluated constants so we make sure to evaluate those too, if we can.

Fixes #100217
Fixes #83972
Fixes #84669
Fixes #86710
Fixes #82268
Fixes #73298
2022-08-11 10:47:48 +00:00
..
traits Auto merge of #100315 - compiler-errors:norm-ct-in-proj, r=lcnr 2022-08-11 10:47:48 +00:00
autoderef.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
infer.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
lib.rs Stabilize let_chains 2022-07-16 20:17:58 -03:00