Skip to content

Format component of style_traits - #21620

Merged
bors-servo merged 1 commit into
servo:masterfrom
chansuke:format_style_traits
Sep 9, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
chansuke:format_style_traits

Conversation

@chansuke

@chansuke chansuke commented Sep 5, 2018 •

Copy link
Copy Markdown
Contributor

Format style_traits with:

rustfmt components/style_traits/*.rs

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix part of Format all code with rustfmt #21373.
  • These changes do not require tests because they format the components only.

This change is Reviewable

@highfive

highfive commented Sep 5, 2018

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon.

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 5, 2018
@jdm

jdm commented Sep 5, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0df74a7 has been approved by jdm

@highfive highfive assigned jdm and unassigned emilio Sep 5, 2018
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 5, 2018
@jdm jdm mentioned this pull request Sep 5, 2018
53 tasks done
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0df74a7 with merge 550b775...

bors-servo pushed a commit that referenced this pull request Sep 5, 2018
Format component of style_traits

<!-- Please describe your changes on the following line: -->
Format `style_traits` with:
```
rustfmt components/style_traits/*.rs
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format the components only.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21620)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 5, 2018
@jdm

jdm commented Sep 5, 2018

Copy link
Copy Markdown
Member
./components/style_traits/lib.rs:28: extern crate declaration is not in alphabetical order
	expected: webrender_api
	found: servo_arc

Could you rearrange the webrender_api crate to be alphabetical?

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0df74a7 with merge 424f617...

bors-servo pushed a commit that referenced this pull request Sep 6, 2018
Format component of style_traits

<!-- Please describe your changes on the following line: -->
Format `style_traits` with:
```
rustfmt components/style_traits/*.rs
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format the components only.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21620)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 6, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 6, 2018
@chansuke
chansuke force-pushed the format_style_traits branch from 0df74a7 to 13847de Compare September 7, 2018 13:13
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 7, 2018
@chansuke

chansuke commented Sep 7, 2018

Copy link
Copy Markdown
Contributor Author

@jdm Thanks for the feedback.I re-arranged and re-pushed as below.

#[cfg(feature = "servo")]
extern crate servo_arc;
extern crate webrender_api;

Comment thread components/style_traits/lib.rs Outdated
#[cfg(feature = "servo")]
#[macro_use]
extern crate serde;
#[cfg(feature = "servo")]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This cfg(feature = "servo") needs to be moved above webrender_api instead of servo_arc.

@jdm

jdm commented Sep 7, 2018

Copy link
Copy Markdown
Member

./mach test-tidy is still complaining:

Checking files for tidiness...
./components/style_traits/lib.rs:30: extern crate declaration is not in alphabetical order
	expected: webrender_api
	found: servo_atoms

@chansuke
chansuke force-pushed the format_style_traits branch from 13847de to a2fc2ae Compare September 8, 2018 04:28
@chansuke

chansuke commented Sep 9, 2018

Copy link
Copy Markdown
Contributor Author

@jdm fixed again, sorry.

@jdm

jdm commented Sep 9, 2018

Copy link
Copy Markdown
Member

cc @emilio

@jdm

jdm commented Sep 9, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit a2fc2ae has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 9, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit a2fc2ae with merge 5455eb3...

bors-servo pushed a commit that referenced this pull request Sep 9, 2018
Format component of style_traits

<!-- Please describe your changes on the following line: -->
Format `style_traits` with:
```
rustfmt components/style_traits/*.rs
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format the components only.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21620)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt2

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 9, 2018
@jdm

jdm commented Sep 9, 2018

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit a2fc2ae with merge 6cb39fa...

bors-servo pushed a commit that referenced this pull request Sep 9, 2018
Format component of style_traits

<!-- Please describe your changes on the following line: -->
Format `style_traits` with:
```
rustfmt components/style_traits/*.rs
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format the components only.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21620)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 9, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit a2fc2ae into servo:master Sep 9, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 9, 2018
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 15, 2018
jankeromnes pushed a commit to jankeromnes/gecko that referenced this pull request Sep 16, 2018
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
This cherry-picks servo/servo#21620.

UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
This cherry-picks servo/servo#21620.

UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
This cherry-picks servo/servo#21620.

UltraBlame original commit: d88b4c39dfce50e116436441080dcc9b4acf593e
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.

5 participants