rust/compiler/rustc_next_trait_solver/src
Stuart Cook 7307dc0ca1
Rollup merge of #144694 - compiler-errors:with-self-ty, r=SparrowLii
Distinguish prepending and replacing self ty in predicates

There are two kinds of functions called `with_self_ty`:
1. Prepends the `Self` type onto an `ExistentialPredicate` which lacks it in its internal representation.
2. Replaces the `Self` type of an existing predicate, either for diagnostics purposes or in the new trait solver when normalizing that self type.

This PR distinguishes these two because I often want to only grep for one of them. Namely, let's call it `with_replaced_self_ty` when all we're doing is replacing the self type.
2025-08-04 14:58:09 +10:00
..
solve Rollup merge of #144694 - compiler-errors:with-self-ty, r=SparrowLii 2025-08-04 14:58:09 +10:00
canonicalizer.rs uniquify root goals during HIR typeck 2025-07-25 12:40:01 +00:00
coherence.rs Do not rely on type_var_origin in OrphanCheckErr::NonLocalInputType 2025-03-20 02:17:14 +00:00
delegate.rs Tweak fast path trait handling 2025-05-29 11:14:36 +00:00
lib.rs Update cfg(bootstrap) 2025-07-01 10:55:49 -07:00
placeholder.rs Uplift BoundVarReplacer 2025-06-13 17:54:45 +00:00
resolve.rs add additional TypeFlags fast paths 2025-05-26 19:57:48 +00:00