about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
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
commite0b68ae6c0acbdfe4c8d2b330df209ea88716eea (patch)
treed984b1fd593bd386f5d0c57ec1e95ceadd2a5069 /compiler/rustc_codegen_llvm/src
parentedaeacfbbbdf39735ee2d14a6f3ebe5fc5137124 (diff)
parent2a9a9ca829d87e90a980bc6238c14efd2c4b22af (diff)
downloadrust-e0b68ae6c0acbdfe4c8d2b330df209ea88716eea.tar.gz
rust-e0b68ae6c0acbdfe4c8d2b330df209ea88716eea.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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions