mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Update 2018 idioms comment.
This commit is contained in:
parent
10eb56f2c4
commit
00f3fc90d1
@ -1,6 +1,7 @@
|
||||
#![cfg_attr(test, deny(warnings))]
|
||||
// While we're getting used to 2018:
|
||||
// For various reasons, some idioms are still allow'ed, but we would like to
|
||||
// test and enforce them.
|
||||
#![warn(rust_2018_idioms)]
|
||||
#![cfg_attr(test, deny(warnings))]
|
||||
// Due to some of the default clippy lints being somewhat subjective and not
|
||||
// necessarily an improvement, we prefer to not use them at this time.
|
||||
#![allow(clippy::all)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user