-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Don't use raw parameter types in find_builder_fn
#121323
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
.instantiate(self.tcx, self.fresh_args_for_item(DUMMY_SP, item.def_id)) | ||
.output(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.instantiate(self.tcx, self.fresh_args_for_item(DUMMY_SP, item.def_id)) | |
.output(); | |
.output() | |
.instantiate(self.tcx, self.fresh_args_for_item(DUMMY_SP, item.def_id)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EarlyBinder::output() doesnt exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh heh. I was looking at polyfnsig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think youre thinking of the late binder, not early binder haha
@bors r+ rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#119203 (Correct the simd_masked_{load,store} intrinsic docs) - rust-lang#121277 (Refactor trait implementations in `core::convert::num`.) - rust-lang#121322 (Don't ICE when hitting overflow limit in fulfillment loop in next solver) - rust-lang#121323 (Don't use raw parameter types in `find_builder_fn`) - rust-lang#121344 (Expand weak alias types before collecting constrained/referenced late bound regions + refactorings) - rust-lang#121350 (Fix stray trait mismatch in `resolve_associated_item` for `AsyncFn`) - rust-lang#121352 (docs: add missing "the" to `str::strip_prefix` doc) Failed merges: - rust-lang#121340 (bootstrap: apply most of clippy's suggestions) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#121323 - compiler-errors:raw-param-types, r=oli-obk Don't use raw parameter types in `find_builder_fn` We shouldn't really ever be using `EarlyBinder::skip_binder` then performing type equality, since param types will never be equal to other types. When checking compatibility with the signature, we instead create some fresh args. Fixes rust-lang#121314
We shouldn't really ever be using
EarlyBinder::skip_binder
then performing type equality, since param types will never be equal to other types. When checking compatibility with the signature, we instead create some fresh args.Fixes #121314