about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2021-09-24 11:40:11 -0700
committerGitHub <noreply@github.com>2021-09-24 11:40:11 -0700
commitee2e97c41627e16a818871374add27c03e7e1355 (patch)
treea01f49712f5a6ba8d16d7ae726263eb71bfc2bf1 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent2de7f1075f59e15587cacba5661c969434bdf6bd (diff)
parent553f6496f2988d0383e501314cee10ec097c5ebd (diff)
downloadrust-ee2e97c41627e16a818871374add27c03e7e1355.tar.gz
rust-ee2e97c41627e16a818871374add27c03e7e1355.zip
Rollup merge of #89001 - jackh726:binder-cleanup, r=nikomatsakis
Be explicit about using Binder::dummy

This is somewhat of a late followup to the binder refactor PR. It removes `ToPredicate` and `ToPolyTraitImpls` that hide the use of `Binder::dummy`. While this does make code a bit more verbose, it allows us be more careful about where we create binders.

Another alternative here might be to add a new trait `ToBinder` or something with a `dummy()` fn. Which could still allow grepping but allows doing something like `trait_ref.dummy()` (but I also wonder if longer-term, it would be better to be even more explicit with a `bind_with_vars(ty::List::empty())` *but* that's not clear yet.

r? ``@nikomatsakis``
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions