Skip to content

Pass --cap-lints=allow instead of -Awarnings#1830

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:cap-lints
Aug 4, 2015
Merged

Pass --cap-lints=allow instead of -Awarnings#1830
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:cap-lints

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit adds support to Cargo to pass --cap-lints allow to all upstream
dependencies instead of -A warings. This should serve the same purpose of
suppressing warnings in upstream dependencies as well as preventing widespread
breakage whenever a change to a lint is introduced in the compiler.

This commit adds support to Cargo to pass `--cap-lints allow` to all upstream
dependencies instead of `-A warings`. This should serve the same purpose of
suppressing warnings in upstream dependencies as well as preventing widespread
breakage whenever a change to a lint is introduced in the compiler.
@rust-highfive

Copy link
Copy Markdown

r? @wycats

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

@alexcrichton

Copy link
Copy Markdown
Member Author

r? @brson

cc rust-lang/rust#27260

@rust-highfive rust-highfive assigned brson and unassigned wycats Jul 24, 2015

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's slightly amusing that the --allow warnings flag is being passed when !allow_warnings.

@alexcrichton

Copy link
Copy Markdown
Member Author

ping r? @brson

@brson

brson commented Aug 4, 2015

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Aug 4, 2015

Copy link
Copy Markdown
Contributor

📌 Commit ff96fa1 has been approved by brson

@bors

bors commented Aug 4, 2015

Copy link
Copy Markdown
Contributor

⌛ Testing commit ff96fa1 with merge cb522bc...

bors added a commit that referenced this pull request Aug 4, 2015
This commit adds support to Cargo to pass `--cap-lints allow` to all upstream
dependencies instead of `-A warings`. This should serve the same purpose of
suppressing warnings in upstream dependencies as well as preventing widespread
breakage whenever a change to a lint is introduced in the compiler.
@bors

bors commented Aug 4, 2015

Copy link
Copy Markdown
Contributor

@bors bors merged commit ff96fa1 into rust-lang:master Aug 4, 2015
@alexcrichton alexcrichton deleted the cap-lints branch August 5, 2015 17:20
SimonSapin added a commit to servo/servo that referenced this pull request Aug 6, 2015
Manishearth added a commit to Manishearth/servo that referenced this pull request Aug 7, 2015
Upgrade cargo to 0.4.0-nightly (425fd85 2015-08-05)

Pick up rust-lang/cargo#1830

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7049)
<!-- Reviewable:end -->
Manishearth added a commit to Manishearth/servo that referenced this pull request Aug 7, 2015
Upgrade cargo to 0.4.0-nightly (425fd85 2015-08-05)

Pick up rust-lang/cargo#1830

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7049)
<!-- Reviewable:end -->
bors-servo pushed a commit to servo/servo that referenced this pull request Aug 7, 2015
Upgrade cargo to 0.4.0-nightly (425fd85 2015-08-05)

Pick up rust-lang/cargo#1830

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7049)
<!-- Reviewable:end -->
SimonSapin added a commit to servo/servo that referenced this pull request Aug 20, 2015
bors-servo pushed a commit to servo/servo that referenced this pull request Aug 20, 2015
Upgrade cargo to 0.5.0-nightly (657e363 2015-08-19)

Pick up rust-lang/cargo#1830

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7049)
<!-- Reviewable:end -->
jrmuizel pushed a commit to jrmuizel/gecko-cinnabar that referenced this pull request Jun 12, 2017
…19) (from servo:cargoup); r=SimonSapin

Pick up rust-lang/cargo#1830

Source-Repo: https://github.com/servo/servo
Source-Revision: 5bab439ab6c58a5b78a6c2f69d6e93ad80da560f
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Sep 30, 2019
…19) (from servo:cargoup); r=SimonSapin

Pick up rust-lang/cargo#1830

Source-Repo: https://github.com/servo/servo
Source-Revision: 5bab439ab6c58a5b78a6c2f69d6e93ad80da560f

UltraBlame original commit: 02cb3705bc4c1343e76fceea5cf968db19e89e02
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…19) (from servo:cargoup); r=SimonSapin

Pick up rust-lang/cargo#1830

Source-Repo: https://github.com/servo/servo
Source-Revision: 5bab439ab6c58a5b78a6c2f69d6e93ad80da560f

UltraBlame original commit: 02cb3705bc4c1343e76fceea5cf968db19e89e02
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…19) (from servo:cargoup); r=SimonSapin

Pick up rust-lang/cargo#1830

Source-Repo: https://github.com/servo/servo
Source-Revision: 5bab439ab6c58a5b78a6c2f69d6e93ad80da560f

UltraBlame original commit: 02cb3705bc4c1343e76fceea5cf968db19e89e02
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