@@ -4,7 +4,35 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## Unreleased / In Rust Beta or Nightly
6
6
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
8
36
9
37
## Rust 1.33 (2019-02-26)
10
38
@@ -763,6 +791,8 @@ All notable changes to this project will be documented in this file.
763
791
[ `AsMut` ] : https://doc.rust-lang.org/std/convert/trait.AsMut.html
764
792
[ `AsRef` ] : https://doc.rust-lang.org/std/convert/trait.AsRef.html
765
793
[ 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
766
796
767
797
<!-- begin autogenerated links to lint list -->
768
798
[ `absurd_extreme_comparisons` ] : https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
0 commit comments