Uh oh!
There was an error while loading. Please reload this page.
rustfmt librustc_resolve - #34584
Conversation
rust-highfive
commented
Jun 30, 2016
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
petrochenkov
commented
Jul 1, 2016
cc @jseyfried, most of this formatting is yours. |
tshepang
commented
Jul 1, 2016
@petrochenkov what does "most of this formatting is yours" mean? |
petrochenkov
commented
Jul 1, 2016
@tshepang |
@which parts of the diff do you not like? |
| kind: NameBindingKind::Module(self.0), | ||
| span: self.1, | ||
| vis: self.2, | ||
| } |
There was a problem hiding this comment.
Struct expression fits into one line but splitted into several lines anyway (1).
petrochenkov
commented
Jul 3, 2016
Ok, that's enough for now. |
@petrochenkov You summed up my thoughts on these PRs exactly :) Also, "visual indenting" of function calls with many arguments really bothers me: let foo = some_long_function_name("a reasonable string literal",
another_argument,
a,
b,
c,
x,
y);This often causes really bad rightward drift, really bad diffs, wasted vertical space, and general ugliness. I'd much prefer let foo = some_long_function_name("a relatively short string literal", another_argument, a, b, c, x, y,); |
bors
commented
Jul 10, 2016
☔ The latest upstream changes (presumably #34365) made this pull request unmergeable. Please resolve the merge conflicts. |
tshepang
commented
Jul 21, 2016
highly-opposed and too many merge conflicts |
No description provided.