Fix struct_tail_raw argument order and ObligationCause usage#138456
Fix struct_tail_raw argument order and ObligationCause usage#138456JumpiiX wants to merge 11 commits intorust-lang:mainfrom
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 |
|
☔ The latest upstream changes (presumably #139000) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@JumpiiX any updates on this? thanks |
|
Closing this as inactive. Feel free to reöpen this pr or create a new pr if you get the time to work on this. Thanks |
Fixes #135629
This PR updates
struct_tail_rawto 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_rawObligationCauseis correctly used where required