Uh oh!
There was an error while loading. Please reload this page.
Remove unnecessary trailing whitespace from error messages - #86197
Conversation
rust-highfive
commented
Jun 10, 2021
(rust-highfive has picked a reviewer for you, use r? to override) |
bors
commented
Jun 17, 2021
☔ The latest upstream changes (presumably #86399) made this pull request unmergeable. Please resolve the merge conflicts. |
b8e0a1a to
2228740Comparebors
commented
Jul 9, 2021
☔ The latest upstream changes (presumably #87003) made this pull request unmergeable. Please resolve the merge conflicts. |
2228740 to
9bc1c4dComparebors
commented
Jul 11, 2021
☔ The latest upstream changes (presumably #87042) made this pull request unmergeable. Please resolve the merge conflicts. |
camelid
commented
Jul 29, 2021
r? @JohnTitor @FabianWolff: could you fix the merge conflicts? Once you've fixed them, you should be able to mark your PR as ready for review with @rustbot author |
This comment has been minimized.
This comment has been minimized.
9bc1c4d to
df0dfd4CompareFabianWolff
commented
Jul 31, 2021
@rustbot ready |
rustbot
commented
Jul 31, 2021
bors
commented
Aug 2, 2021
☔ The latest upstream changes (presumably #87698) made this pull request unmergeable. Please resolve the merge conflicts. |
df0dfd4 to
ee300b6CompareJohnTitor
commented
Aug 3, 2021
@bors r+ rollup |
bors
commented
Aug 3, 2021
📌 Commit ee300b6 has been approved by |
…JohnTitor Remove unnecessary trailing whitespace from error messages Some error messages currently contain unnecessary trailing whitespace. There are some legitimate reasons for having trailing whitespace in the output, such as for uniform indentation of possibly-empty input lines, but the whitespace I have addressed here occurs in a line used only for spacing, and I see no reason why that should have trailing whitespace (spacing lines inserted in other places also don't have trailing whitespace). I have also removed a superfluous call to `buffer.putc()`, which has no effect because the same character is already placed there by `draw_col_separator()`. Use `git diff --ignore-space-at-eol` to see my changes; otherwise the diff is quite large due to the whitespace removed from expected outputs in `src/test/ui/`.
JohnTitor
commented
Aug 3, 2021
Failed in rollup: #87741 (comment) |
This comment has been minimized.
This comment has been minimized.
ee300b6 to
f8372f8CompareFabianWolff
commented
Aug 4, 2021
@rustbot ready |
rustbot
commented
Aug 4, 2021
JohnTitor
commented
Aug 4, 2021
@bors r+ p=1 |
bors
commented
Aug 4, 2021
📌 Commit f8372f8 has been approved by |
bors
commented
Aug 4, 2021
bors
commented
Aug 4, 2021
☀️ Test successful - checks-actions |
Some error messages currently contain unnecessary trailing whitespace. There are some legitimate reasons for having trailing whitespace in the output, such as for uniform indentation of possibly-empty input lines, but the whitespace I have addressed here occurs in a line used only for spacing, and I see no reason why that should have trailing whitespace (spacing lines inserted in other places also don't have trailing whitespace).
I have also removed a superfluous call to
buffer.putc(), which has no effect because the same character is already placed there bydraw_col_separator().Use
git diff --ignore-space-at-eolto see my changes; otherwise the diff is quite large due to the whitespace removed from expected outputs insrc/test/ui/.