Skip to content

Add -D warnings to RUSTFLAGS on CI #1932

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

Merged
merged 2 commits into from
Dec 5, 2019
Merged

Conversation

jtgeibel
Copy link
Member

@jtgeibel jtgeibel commented Dec 1, 2019

By denying warnings explicitly on CI, we don't need to deny warnings in each library or binary. #![warn(clippy::all)] is used to automatically enable clippy in RLS enabled IDEs and rust_2018_idioms is now applied consistently. Finally, clippy allow attributes that are no longer needed have been removed.

By denying warnings explicitly on CI, we don't need to deny warnings in
library or binary.  `#![warn(clippy::all)]` is used to automatically
enable clippy in RLS enabled IDEs.  `rust_2018_idioms` is now applied
consistently.
@rust-highfive
Copy link

r? @smarnach

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

@carols10cents
Copy link
Member

Works great!! Thank you, this should hopefully remove some friction of local development!

@bors r+

@bors
Copy link
Contributor

bors commented Dec 5, 2019

📌 Commit d2ed9de has been approved by carols10cents

bors added a commit that referenced this pull request Dec 5, 2019
Add `-D warnings` to `RUSTFLAGS` on CI

By denying warnings explicitly on CI, we don't need to deny warnings in each library or binary.  `#![warn(clippy::all)]` is used to automatically enable clippy in RLS enabled IDEs and `rust_2018_idioms` is now applied consistently.  Finally, clippy allow attributes that are no longer needed have been removed.
@bors
Copy link
Contributor

bors commented Dec 5, 2019

⌛ Testing commit d2ed9de with merge 5ce81df...

@bors
Copy link
Contributor

bors commented Dec 5, 2019

☀️ Test successful - checks-travis
Approved by: carols10cents
Pushing 5ce81df to master...

@bors bors merged commit d2ed9de into rust-lang:master Dec 5, 2019
@jtgeibel jtgeibel deleted the clippy-cleanups branch December 26, 2019 20:12
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