rust/compiler/rustc_trait_selection/src
bors 0938e1680d Auto merge of #101679 - compiler-errors:rpitit-default-body, r=nikomatsakis
Support default-body trait functions with return-position `impl Trait` in traits

Introduce a new `Trait` candidate kind for the `ImplTraitInTrait` projection candidate, which just projects an RPITIT down to its opaque type form.

This is a hack until we lower RPITITs to regular associated types, after which we will need to rework how these default bodies are type-checked, so comments are left in a few places for us to clean up later.

Fixes #101665
2022-10-12 21:03:47 +00:00
..
traits Auto merge of #101679 - compiler-errors:rpitit-default-body, r=nikomatsakis 2022-10-12 21:03:47 +00:00
autoderef.rs Remove TypeckResults from InferCtxt 2022-10-07 07:06:19 -05:00
errors.rs rename Unevaluated to UnevaluatedConst 2022-09-23 14:27:34 +02:00
infer.rs Change InferCtxtBuilder from enter to build 2022-10-07 07:10:40 -05:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00