Skip to content

Commit 543858d

Browse files
committed
Update changelog for Rust 1.34.0
1 parent 6104aef commit 543858d

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,34 @@ 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
17+
* New lint: [`wildcard_enum_match_arm`] to check for wildcard enum matches using `_`
18+
* Expand `redundant_closure` to also work for methods (not only functions)
19+
* Fix ICEs in `vec_box`, `needless_pass_by_value` and `implicit_hasher`
20+
* Fix false positive in `cast_sign_loss`
21+
* Fix false positive in `integer_arithmetic`
22+
* Fix false positive in `unit_arg`
23+
* Fix false positives in `implicit_return`
24+
* Add suggestion to `explicit_write`
25+
* Improve suggestions for `question_mark` lint
26+
* Fix incorrect suggestion for `cast_lossless`
27+
* Fix incorrect suggestion for `expect_fun_call`
28+
* Fix incorrect suggestion for `needless_bool`
29+
* Fix incorrect suggestion for `needless_range_loop`
30+
* Fix incorrect suggestion for `use_self`
31+
* Fix incorrect suggestion for `while_let_on_iterator`
32+
* Clippy is now slightly easier to invoke in non-cargo contexts. See
33+
[#3665][pull3665] for more details.
34+
* We now have [improved documentation][adding_lints] on how to add new lints
835

936
## Rust 1.33 (2019-02-26)
1037

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

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

0 commit comments

Comments
 (0)