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

Use #![warn(rust_2018_idioms)] #1448

Merged
merged 2 commits into from
Feb 14, 2019
Merged

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Feb 5, 2019

Currently, only #![bare_trait_objects)] is used (bare_trait_objects is included in rust_2018_idioms), but since #![deny(rust_2018_idioms)] is used in rust-lang/rust (see rust-lang/rust#58099), I would like to use #![deny(rust_2018_idioms)]#![warn(rust_2018_idioms)] even in futures-rs.

@Nemo157
Copy link
Member

Nemo157 commented Feb 5, 2019

warn is nicer for developers, and will be denied by CI when a PR is made.

@taiki-e
Copy link
Member Author

taiki-e commented Feb 5, 2019

warn is nicer for developers, and will be denied by CI when a PR is made.

That makes sense.

@taiki-e taiki-e changed the title Use #![deny(rust_2018_idioms)] Use #![warn(rust_2018_idioms)] Feb 5, 2019
@cramertj cramertj merged commit 6199c65 into rust-lang:master Feb 14, 2019
@taiki-e taiki-e deleted the rust_2018_idioms branch February 14, 2019 19:55
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.

3 participants