-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Fix struct_tail_raw argument order and ObligationCause usage #138456
base: master
Are you sure you want to change the base?
Conversation
The job Click to see the possible cause of the failure (guessed by this bot)
|
This is a lot of churn stylistically for a singular change, because of the fact that this is added as the last argument rather than allowing the closures to be the final arguments which affects the formatting. Please add this argument as the 2nd argument. Please also add a test in Finally, this is 11 commits for 11 files worth of change. Please squash this into one commit. Thanks |
@rustbot author |
Fixes #135629
This PR updates
struct_tail_raw
to correctly order its parameters by moving the closure beforeObligationCause
. This resolves type mismatch errors and ensures that all call sites pass the correct number of arguments.Changes:
struct_tail_raw
ObligationCause
is correctly used where required