-
Notifications
You must be signed in to change notification settings - Fork 13.8k
run rustfmt on librustc_typeck/check/method folder #36736
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
Conversation
r? @Aatch (rust_highfive has picked a reviewer for you, use r? to override) |
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.
This is interesting. Why did the function call take a separate line? Previous formatting looks good to me. @nrc
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.
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.
this is ugly
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.
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.
here too.
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.
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.
This doesn't seem too bad to me, arguably it is better since using less vertical space and the call all on one line is not too hard to read.
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.
here too.
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.
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.
why did rustfmt convert this? These expressions are happily fit on a single line.
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.
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.
rustfmt didnot remove empty line between parameters in a function call @nrc
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.
@srinivasreddy could you file rustfmt issues for these things please? |
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.
@nrc Done. Thanks. |
Awesome, thank you! |
@nrc Shall we roll-up? |
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.
Could you manually fixup these changes to comments please?
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.
Could you remove the dangling sigil please
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.
These should stay on a line each I think
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.
same
Thanks for doing this! Could you manually fixup the areas where there are issues please? |
@nrc Done. |
r? @nrc |
☔ The latest upstream changes (presumably #36885) made this pull request unmergeable. Please resolve the merge conflicts. |
looks good, r=me, but needs a rebase |
@nrc Done |
@bors: r+ |
📌 Commit 9e22f39 has been approved by |
⌛ Testing commit 9e22f39 with merge 0d77bd2... |
💔 Test failed - auto-mac-64-opt |
@srinivasreddy test fail looks real, perhaps a rebasing error? |
@nrc Fixed it |
@bors: r+ |
📌 Commit 5be0acc has been approved by |
☔ The latest upstream changes (presumably #36814) made this pull request unmergeable. Please resolve the merge conflicts. |
@nrc pls do it again. |
@bors: r+ |
📌 Commit dcb6b15 has been approved by |
run rustfmt on librustc_typeck/check/method folder
No description provided.