Add rust_2018_idioms lint group

This commit is contained in:
Manish Goregaokar 2018-03-08 13:23:52 -08:00
parent 667973204d
commit a08cfc4cb6
3 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,6 @@ LL | if data.is_null() {}
| ^^^^^^^
|
= note: #[warn(tyvar_behind_raw_pointer)] on by default
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 epoch!
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>