about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/regex.js
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-04 14:58:09 +1000
committerGitHub <noreply@github.com>2025-08-04 14:58:09 +1000
commited363ac523e80ff0f0ca66d1af2bcfd574d54fca (patch)
tree45962c0812020097c9acf95699fc3c7062ecb01d /tests/rustdoc-js-std/regex.js
parent1b39c3590c4d60fc4578dedfa779c7efbf60a17b (diff)
parent7d662eeb935fae3a6c33670ef68ed12eba71fc88 (diff)
downloadrust-ed363ac523e80ff0f0ca66d1af2bcfd574d54fca.tar.gz
rust-ed363ac523e80ff0f0ca66d1af2bcfd574d54fca.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 'tests/rustdoc-js-std/regex.js')
0 files changed, 0 insertions, 0 deletions