diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-08-04 14:58:09 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 14:58:09 +1000 |
| commit | 7307dc0ca1c04814517f2afe57b8aa12b2f9960b (patch) | |
| tree | a7b26524daa68649891f716a4bc0e4b33bfd8bf4 /compiler/rustc_codegen_gcc | |
| parent | 07b7dc90ee4df5815dbb91ef8e98cb93571230f5 (diff) | |
| parent | 2ae048e1df765e0ba4c9638149552ea1eba82834 (diff) | |
| download | rust-7307dc0ca1c04814517f2afe57b8aa12b2f9960b.tar.gz rust-7307dc0ca1c04814517f2afe57b8aa12b2f9960b.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
