Skip to content
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

run rustfmt on libsyntax_ext/deriving folder #34113

Merged
merged 1 commit into from
Jul 20, 2016
Merged

run rustfmt on libsyntax_ext/deriving folder #34113

merged 1 commit into from
Jul 20, 2016

Conversation

srinivasreddy
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@srinivasreddy
Copy link
Contributor Author

cc @nrc

if ty_params.is_empty()
&& attr::contains_name(&annitem.attrs, "derive_Copy") => {
if ty_params.is_empty() &&
attr::contains_name(&annitem.attrs, "derive_Copy") => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This indentation is pretty strange. Why is the continuation line at the same level is if?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bug, I filed rust-lang/rustfmt#1099 for this

@brson
Copy link
Contributor

brson commented Jun 9, 2016

@nrc I'm not sure how to review these patches. They all seem to have parts that look like they might want to be tweaked. With the actual style conventions in flux, are we happy to land these with formatting that is sometimes not very attractive? What's the goal with rustfmting the compiler?

@bors
Copy link
Contributor

bors commented Jun 28, 2016

☔ The latest upstream changes (presumably #34424) made this pull request unmergeable. Please resolve the merge conflicts.

@brson
Copy link
Contributor

brson commented Jul 11, 2016

Triage: no change since my previous comment.

@nrc
Copy link
Member

nrc commented Jul 15, 2016

@brson I would like to not block patches like this on perfect formatting. I would block if we lose formatting that won't easily be recreated (e.g., a matrix alignment) or if the formatting is really gross (i.e., you would be unhappy working with such code), c.f, slightly off (such as the alignment here). Basically, I think rustfmt is going to get better and these things will naturally get better over time, but if we don't get started, we never will.

Given that, do you think this PR just needs a rebase to land, or are there other blocking issues with it? If there, it would be nice (but not essential) to file rustfmt issues and close this PR until rustfmt is fixed.

@brson
Copy link
Contributor

brson commented Jul 18, 2016

@nrc I'm fine landing this one, though I guess @srinivasreddy will need to redo the patch at this point. Sorry for the delay @srinivasreddy.

@srinivasreddy
Copy link
Contributor Author

@brson Let's land this cc @nrc

@brson
Copy link
Contributor

brson commented Jul 20, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Jul 20, 2016

📌 Commit 9652fcb has been approved by brson

@brson
Copy link
Contributor

brson commented Jul 20, 2016

Thanks @srinivasreddy

@bors
Copy link
Contributor

bors commented Jul 20, 2016

⌛ Testing commit 9652fcb with merge 3773770...

@bors
Copy link
Contributor

bors commented Jul 20, 2016

💔 Test failed - auto-win-gnu-32-opt-rustbuild

@alexcrichton
Copy link
Member

@bors: retry

On Tue, Jul 19, 2016 at 9:06 PM, bors [email protected] wrote:

💔 Test failed - auto-win-gnu-32-opt-rustbuild
https://buildbot.rust-lang.org/builders/auto-win-gnu-32-opt-rustbuild/builds/1821


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#34113 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95KuBR-VLO3_ywwCf-zS-OLltHjRWks5qXZ66gaJpZM4IvAAf
.

@bors
Copy link
Contributor

bors commented Jul 20, 2016

⌛ Testing commit 9652fcb with merge a07fdcd...

@bors
Copy link
Contributor

bors commented Jul 20, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@alexcrichton
Copy link
Member

@bors: retry

On Tue, Jul 19, 2016 at 11:14 PM, bors [email protected] wrote:

💔 Test failed - auto-win-msvc-64-cargotest
https://buildbot.rust-lang.org/builders/auto-win-msvc-64-cargotest/builds/1184


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#34113 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95FKiZt2sciB3JCTuLFf0xybREf2Kks5qXbzLgaJpZM4IvAAf
.

@bors
Copy link
Contributor

bors commented Jul 20, 2016

⌛ Testing commit 9652fcb with merge 08638de...

@bors
Copy link
Contributor

bors commented Jul 20, 2016

💔 Test failed - auto-win-gnu-32-opt

@alexcrichton
Copy link
Member

@bors: retry

On Wed, Jul 20, 2016 at 5:46 AM, bors [email protected] wrote:

💔 Test failed - auto-win-gnu-32-opt
https://buildbot.rust-lang.org/builders/auto-win-gnu-32-opt/builds/4977


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#34113 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95JinARfYjfSBHCmObQgLdG-ebjv_ks5qXhingaJpZM4IvAAf
.

@bors
Copy link
Contributor

bors commented Jul 20, 2016

⌛ Testing commit 9652fcb with merge 936bfea...

bors added a commit that referenced this pull request Jul 20, 2016
run rustfmt on libsyntax_ext/deriving folder
@bors bors merged commit 9652fcb into rust-lang:master Jul 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants