rust/compiler/rustc_hir_analysis/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
..
check Rollup merge of #144694 - compiler-errors:with-self-ty, r=SparrowLii 2025-08-04 14:58:09 +10:00
coherence remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
collect Auto merge of #144677 - nnethercote:bound-const-handling, r=lcnr 2025-08-03 05:26:43 +00:00
errors Rename trait_of_item -> trait_of_assoc 2025-07-28 09:53:50 -05:00
hir_ty_lowering Rollup merge of #144694 - compiler-errors:with-self-ty, r=SparrowLii 2025-08-04 14:58:09 +10:00
impl_wf_check Implement other logics 2025-07-15 13:48:30 +00:00
outlives Auto merge of #143545 - compiler-errors:coroutine-obl, r=oli-obk 2025-07-18 02:23:50 +00:00
variance compiler: inline 1-2 query provide fn in hir_analysis and hir_typeck 2025-07-03 13:48:32 -07:00
autoderef.rs FIXME(-Znext-solver) triage 2025-06-03 14:23:56 +02:00
check_unused.rs Unquerify maybe_unused_trait_imports. 2025-07-20 13:19:05 +00:00
collect.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
constrained_generic_params.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
delegation.rs Use more slicing and slice interning over iterable interning 2025-06-13 01:16:01 +02:00
errors.rs Rollup merge of #142693 - fmease:unbound-bettering, r=compiler-errors 2025-07-18 19:14:43 +02:00
hir_wf_check.rs use let chains in ast, borrowck, codegen, const_eval 2025-07-28 06:08:48 +05:00
impl_wf_check.rs Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
lib.rs compiler: document all provide fn in hir_analysis and hir_typeck 2025-07-03 13:49:34 -07:00