Skip to content

Commit 5939b61

Browse files
committed
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)
2 parents d516925 + 745d6fb commit 5939b61

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

CHANGELOG.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,35 @@ All notable changes to this project will be documented in this file.
44

55
## Unreleased / In Rust Beta or Nightly
66

7-
[1b89724...master](https://github.com/rust-lang/rust-clippy/compare/1b89724...master)
7+
[1fac380...master](https://github.com/rust-lang/rust-clippy/compare/1fac380...master)
8+
9+
## Rust 1.34 (2019-04-10)
10+
11+
[1b89724...1fac380](https://github.com/rust-lang/rust-clippy/compare/1b89724...1fac380)
12+
13+
* New lint: [`assertions_on_constants`] to detect for example `assert!(true)`
14+
* New lint: [`dbg_macro`] to detect uses of the `dbg!` macro
15+
* New lint: [`missing_const_for_fn`] that can suggest functions to be made `const`
16+
* New lint: [`too_many_lines`] to detect functions with excessive LOC. It can be
17+
configured using the `too-many-lines-threshold` configuration.
18+
* New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
19+
* Expand `redundant_closure` to also work for methods (not only functions)
20+
* Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`
21+
* Fix false positive in `cast_sign_loss`
22+
* Fix false positive in `integer_arithmetic`
23+
* Fix false positive in `unit_arg`
24+
* Fix false positives in `implicit_return`
25+
* Add suggestion to `explicit_write`
26+
* Improve suggestions for `question_mark` lint
27+
* Fix incorrect suggestion for `cast_lossless`
28+
* Fix incorrect suggestion for `expect_fun_call`
29+
* Fix incorrect suggestion for `needless_bool`
30+
* Fix incorrect suggestion for `needless_range_loop`
31+
* Fix incorrect suggestion for `use_self`
32+
* Fix incorrect suggestion for `while_let_on_iterator`
33+
* Clippy is now slightly easier to invoke in non-cargo contexts. See
34+
[#3665][pull3665] for more details.
35+
* We now have [improved documentation][adding_lints] on how to add new lints
836

937
## Rust 1.33 (2019-02-26)
1038

@@ -763,6 +791,8 @@ All notable changes to this project will be documented in this file.
763791
[`AsMut`]: https://doc.rust-lang.org/std/convert/trait.AsMut.html
764792
[`AsRef`]: https://doc.rust-lang.org/std/convert/trait.AsRef.html
765793
[configuration file]: ./rust-clippy#configuration
794+
[pull3665]: https://github.com/rust-lang/rust-clippy/pull/3665
795+
[adding_lints]: https://github.com/rust-lang/rust-clippy/blob/master/doc/adding_lints.md
766796

767797
<!-- begin autogenerated links to lint list -->
768798
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons

0 commit comments

Comments
 (0)