-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Stop using PolyTraitRef
for closure/coroutine predicates already instantiated w placeholders
#123900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop using PolyTraitRef
for closure/coroutine predicates already instantiated w placeholders
#123900
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1079,8 +1079,8 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> { | |
}) | ||
.map_err(|terr| { | ||
SignatureMismatch(Box::new(SignatureMismatchData { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is that sometimes used with an uninstantiated binder? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nope, it's always instantiated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. then we can remove the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. isn't that what this PR is doing? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ?????????????????????????????????????????????? I might have been utterly confused god knows what i was thinking. sorry |
||
expected_trait_ref: ty::Binder::dummy(obligation_trait_ref), | ||
found_trait_ref: ty::Binder::dummy(found_trait_ref), | ||
expected_trait_ref: obligation_trait_ref, | ||
found_trait_ref, | ||
terr, | ||
})) | ||
}) | ||
|
Uh oh!
There was an error while loading. Please reload this page.