rustfmt librustc_resolve#34584
rustfmt librustc_resolve#34584tshepang wants to merge 1 commit intorust-lang:masterfrom tshepang:rustfmt-librustc_resolvevc
Conversation
|
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
|
cc @jseyfried, most of this formatting is yours. |
|
@petrochenkov what does "most of this formatting is yours" mean? |
|
@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).
There was a problem hiding this comment.
I find this more readable
|
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,
); |
|
☔ The latest upstream changes (presumably #34365) made this pull request unmergeable. Please resolve the merge conflicts. |
|
highly-opposed and too many merge conflicts |
No description provided.