mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
Auto merge of #3950 - phansch:update_changelog, r=Manishearth
Update changelog for Rust 1.34.0 [Rendered](https://github.com/phansch/rust-clippy/blob/update_changelog/CHANGELOG.md#rust-134-2019-04-10)
This commit is contained in:
commit
5939b6131f
1 changed files with 31 additions and 1 deletions
32
CHANGELOG.md
32
CHANGELOG.md
|
@ -4,7 +4,35 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## Unreleased / In Rust Beta or Nightly
|
## Unreleased / In Rust Beta or Nightly
|
||||||
|
|
||||||
[1b89724...master](https://github.com/rust-lang/rust-clippy/compare/1b89724...master)
|
[1fac380...master](https://github.com/rust-lang/rust-clippy/compare/1fac380...master)
|
||||||
|
|
||||||
|
## Rust 1.34 (2019-04-10)
|
||||||
|
|
||||||
|
[1b89724...1fac380](https://github.com/rust-lang/rust-clippy/compare/1b89724...1fac380)
|
||||||
|
|
||||||
|
* New lint: [`assertions_on_constants`] to detect for example `assert!(true)`
|
||||||
|
* New lint: [`dbg_macro`] to detect uses of the `dbg!` macro
|
||||||
|
* New lint: [`missing_const_for_fn`] that can suggest functions to be made `const`
|
||||||
|
* New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be
|
||||||
|
configured using the `too-many-lines-threshold` configuration.
|
||||||
|
* New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
|
||||||
|
* Expand `redundant_closure` to also work for methods (not only functions)
|
||||||
|
* Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`
|
||||||
|
* Fix false positive in `cast_sign_loss`
|
||||||
|
* Fix false positive in `integer_arithmetic`
|
||||||
|
* Fix false positive in `unit_arg`
|
||||||
|
* Fix false positives in `implicit_return`
|
||||||
|
* Add suggestion to `explicit_write`
|
||||||
|
* Improve suggestions for `question_mark` lint
|
||||||
|
* Fix incorrect suggestion for `cast_lossless`
|
||||||
|
* Fix incorrect suggestion for `expect_fun_call`
|
||||||
|
* Fix incorrect suggestion for `needless_bool`
|
||||||
|
* Fix incorrect suggestion for `needless_range_loop`
|
||||||
|
* Fix incorrect suggestion for `use_self`
|
||||||
|
* Fix incorrect suggestion for `while_let_on_iterator`
|
||||||
|
* Clippy is now slightly easier to invoke in non-cargo contexts. See
|
||||||
|
[#3665][pull3665] for more details.
|
||||||
|
* We now have [improved documentation][adding_lints] on how to add new lints
|
||||||
|
|
||||||
## Rust 1.33 (2019-02-26)
|
## Rust 1.33 (2019-02-26)
|
||||||
|
|
||||||
|
@ -763,6 +791,8 @@ All notable changes to this project will be documented in this file.
|
||||||
[`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html
|
[`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html
|
||||||
[`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html
|
[`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html
|
||||||
[configuration file]: ./rust-clippy#configuration
|
[configuration file]: ./rust-clippy#configuration
|
||||||
|
[pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665
|
||||||
|
[adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md
|
||||||
|
|
||||||
<!-- begin autogenerated links to lint list -->
|
<!-- begin autogenerated links to lint list -->
|
||||||
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
|
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
|
||||||
|
|
Loading…
Reference in a new issue