Also mention --fix for nightly users

This commit is contained in:
Philipp Hansch 2020-04-21 07:06:44 +02:00
parent 803670eeb2
commit 30c28a796d
No known key found for this signature in database
GPG key ID: 2B4399C4BF4DCBDE

View file

@ -43,6 +43,8 @@ Current beta, release 2020-06-04
### Enhancements ### Enhancements
* On _nightly_ you can now use `cargo clippy --fix -Z unstable-options` to
auto-fix lints that support this [#5363](https://github.com/rust-lang/rust-clippy/pull/5363)
* Make [`redundant_clone`] also trigger on cases where the cloned value is not * Make [`redundant_clone`] also trigger on cases where the cloned value is not
consumed. [#5304](https://github.com/rust-lang/rust-clippy/pull/5304) consumed. [#5304](https://github.com/rust-lang/rust-clippy/pull/5304)
* Expand [`integer_arithmetic`] to also disallow bit-shifting [#5430](https://github.com/rust-lang/rust-clippy/pull/5430) * Expand [`integer_arithmetic`] to also disallow bit-shifting [#5430](https://github.com/rust-lang/rust-clippy/pull/5430)