Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updeny warnings #19612
deny warnings #19612
Conversation
highfive
commented
Dec 20, 2017
|
Heads up! This PR modifies the following files:
|
|
r? @jdm This looks reasonable to me. |
|
@bors-servo r+ |
|
|
|
@bors-servo r- Please also remove |
|
Thanks for your work on this! |
|
r? @SimonSapin |
|
@bors-servo r+ |
|
|
deny warnings <!-- Please describe your changes on the following line: --> deny warnings related to #19573 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19572 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/19612) <!-- Reviewable:end -->
|
|
|
It's weird. it should be
but it becomes
|
|
If you use |
|
@bors-servo try |
deny warnings <!-- Please describe your changes on the following line: --> deny warnings related to #19573 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19572 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/19612) <!-- Reviewable:end -->
This indicates that |
|
@SimonSapin You are right! |
|
When we change RUSTFLAGS between building and compiling unit tests, we have to recompile everything. This makes TravisCI time out, and will make all of our builds take longer. |
|
@jdm Ok I will fix it. |
|
now it it OK |
| @@ -23,7 +23,6 @@ | |||
| //! [cssparser]: ../cssparser/index.html | |||
| //! [selectors]: ../selectors/index.html | |||
|
|
|||
| #![deny(warnings)] | |||
This comment has been minimized.
This comment has been minimized.
jdm
Dec 21, 2017
Member
Let's leave these explicit instances of denying warnings, since developers have grown used to developing with them present.
This comment has been minimized.
This comment has been minimized.
SimonSapin
Dec 21, 2017
Member
@jdm Shouldn’t we rather be consistent between crates? As far as I’m concerned it’s an historical accident that some crates have it and not others, not something useful.
This comment has been minimized.
This comment has been minimized.
emilio
Dec 21, 2017
Member
I don't personally care, but at least nsstring is vendored code, so I'd rather leave it in that crate at least.
|
@bors-servo: r+ |
|
|
deny warnings <!-- Please describe your changes on the following line: --> deny warnings related to #19573 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #19572 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/19612) <!-- Reviewable:end -->
|
|
We already have #19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619
Remove #![deny(warnings)] We already have #19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 <!-- 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/19914) <!-- Reviewable:end -->
…); r=nox We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : ed5c34f72e321ce0051347bd5156389d1ef26bef
We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30 --HG-- extra : source : bbef24920c2bd12a23b63a100d83e6d240ea74dc extra : amend_source : dc20fe3c006be58542d64afc137ac0a84f74508d
We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30
…); r=nox We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30 UltraBlame original commit: bbef24920c2bd12a23b63a100d83e6d240ea74dc
…); r=nox We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30 UltraBlame original commit: bbef24920c2bd12a23b63a100d83e6d240ea74dc
…); r=nox We already have servo/servo#19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings: https://bugzilla.mozilla.org/show_bug.cgi?id=1434619 Source-Repo: https://github.com/servo/servo Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30 UltraBlame original commit: bbef24920c2bd12a23b63a100d83e6d240ea74dc
tigercosmos commentedDec 20, 2017
•
edited by SimonSapin
deny warnings
related to #19573
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is