Repository navigation
Remove the 'sup' method from 'At' and migrate uses to 'sup_raw' #164244
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
base: main
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -561,7 +561,8 @@ impl<'a, 'tcx> ConfirmContext<'a, 'tcx> { | |
| self_ty, method_self_ty, self.span, pick | ||
| ); | ||
| let cause = self.cause(self.self_expr.span, ObligationCauseCode::Misc); | ||
| match self.at(&cause, self.param_env).sup(DefineOpaqueTypes::Yes, method_self_ty, self_ty) { | ||
| match self.sup_raw(&cause, self.param_env, DefineOpaqueTypes::Yes, method_self_ty, self_ty) | ||
|
Contributor
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. want to change this to use demand_suptype_diag instead?
Member
Author
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'm not quite sure how to integrate this here, each way I try to brings up different failures in the test suite (wrt arbitrary self for the most part).
Member
Author
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. Going to leave this instance of |
||
| { | ||
| Ok(InferOk { obligations, value: () }) => { | ||
| self.register_predicates(obligations); | ||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.