Skip to content

Commit ab78d33

Browse files
committed
Updated changelog for 1.55
1 parent ac0fd99 commit ab78d33

File tree

1 file changed

+131
-3
lines changed

1 file changed

+131
-3
lines changed

CHANGELOG.md

+131-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,139 @@ document.
66

77
## Unreleased / In Rust Nightly
88

9-
[3ae8faf...master](https://github.com/rust-lang/rust-clippy/compare/3ae8faf...master)
9+
[4c41a22...master](https://github.com/rust-lang/rust-clippy/compare/3ae8faf...master)
10+
11+
## Rust 1.55
12+
13+
Current beta, release 2021-09-09
14+
15+
[3ae8faf...4c41a22](https://github.com/rust-lang/rust-clippy/compare/3ae8faf...4c41a22)
16+
17+
### New Lints
18+
19+
* [`rc_mutex`]
20+
[#7316](https://github.com/rust-lang/rust-clippy/pull/7316)
21+
* [`nonstandard_macro_braces`]
22+
[#7299](https://github.com/rust-lang/rust-clippy/pull/7299)
23+
* [`strlen_on_c_strings`]
24+
[#7243](https://github.com/rust-lang/rust-clippy/pull/7243)
25+
* [`self_named_constructor`]
26+
[#7403](https://github.com/rust-lang/rust-clippy/pull/7403)
27+
* [`disallowed_script_idents`]
28+
[#7400](https://github.com/rust-lang/rust-clippy/pull/7400)
29+
* [`disallowed_type`]
30+
[#7315](https://github.com/rust-lang/rust-clippy/pull/7315)
31+
* [`missing_enforced_import_renames`]
32+
[#7300](https://github.com/rust-lang/rust-clippy/pull/7300)
33+
* [`append_instead_of_extend`]
34+
[#7270](https://github.com/rust-lang/rust-clippy/pull/7270)
35+
36+
### Moves and Deprecations
37+
38+
* Moved [`from_iter_instead_of_collect`] to `pedantic`
39+
[#7375](https://github.com/rust-lang/rust-clippy/pull/7375)
40+
* Added `suspicious` as a new lint group for *code that is most likely wrong or useless*
41+
[#7350](https://github.com/rust-lang/rust-clippy/pull/7350)
42+
* Moved [`blanket_clippy_restriction_lints`] to `suspicious`
43+
* Moved [`empty_loop`] to `suspicious`
44+
* Moved [`eval_order_dependence`] to `suspicious`
45+
* Moved [`float_equality_without_abs`] to `suspicious`
46+
* Moved [`for_loops_over_fallibles`] to `suspicious`
47+
* Moved [`misrefactored_assign_op`] to `suspicious`
48+
* Moved [`mut_range_bound`] to `suspicious`
49+
* Moved [`mutable_key_type`] to `suspicious`
50+
* Moved [`suspicious_arithmetic_impl`] to `suspicious`
51+
* Moved [`suspicious_assignment_formatting`] to `suspicious`
52+
* Moved [`suspicious_else_formatting`] to `suspicious`
53+
* Moved [`suspicious_map`] to `suspicious`
54+
* Moved [`suspicious_op_assign_impl`] to `suspicious`
55+
* Moved [`suspicious_unary_op_formatting`] to `suspicious`
56+
57+
### Enhancements
58+
59+
* [`while_let_on_iterator`]: Now suggests `&mut iter` inside closures
60+
[#7262](https://github.com/rust-lang/rust-clippy/pull/7262)
61+
* [`doc_markdown`]:
62+
* Now detects unbalanced ticks
63+
[#7357](https://github.com/rust-lang/rust-clippy/pull/7357)
64+
* Add `FreeBSD` to the default configuration as an allowed identifier
65+
[#7334](https://github.com/rust-lang/rust-clippy/pull/7334)
66+
* [`wildcard_enum_match_arm`], [`match_wildcard_for_single_variants`]: Now allows wildcards for enums with unstable or hidden variants
67+
[#7407](https://github.com/rust-lang/rust-clippy/pull/7407)
68+
* [`redundant_allocation`]: Now additionally supports the `Arc<>` type
69+
[#7308](https://github.com/rust-lang/rust-clippy/pull/7308)
70+
* [`blacklisted_name`]: Now allows blacklisted names in test code
71+
[#7379](https://github.com/rust-lang/rust-clippy/pull/7379)
72+
* [`redundant_closure`]: Suggests `&mut` for `FnMut`
73+
[#7437](https://github.com/rust-lang/rust-clippy/pull/7437)
74+
* [`disallowed_method`], [`disallowed_type`]: The configuration values `disallowed-method` and `disallowed_type` no longer require fully qualified paths
75+
[#7345](https://github.com/rust-lang/rust-clippy/pull/7345)
76+
* [`zst_offset`]: Fixed lint invocation after it was accidentally suppressed
77+
[#7396](https://github.com/rust-lang/rust-clippy/pull/7396)
78+
79+
### False Positive Fixes
80+
81+
* [`default_numeric_fallback`]: No longer lints on float literals as function arguments
82+
[#7446](https://github.com/rust-lang/rust-clippy/pull/7446)
83+
* [`use_self`]: No longer lints on type parameters
84+
[#7288](https://github.com/rust-lang/rust-clippy/pull/7288)
85+
* [`unimplemented`]: Now ignores the `assert` and `debug_assert` macros
86+
[#7439](https://github.com/rust-lang/rust-clippy/pull/7439)
87+
* [`branches_sharing_code`]: Now always checks for block expressions
88+
[#7462](https://github.com/rust-lang/rust-clippy/pull/7462)
89+
* [`field_reassign_with_default`]: No longer triggers in macros
90+
[#7160](https://github.com/rust-lang/rust-clippy/pull/7160)
91+
* [`redundant_clone`]: No longer lints on required clones for borrowed data
92+
[#7346](https://github.com/rust-lang/rust-clippy/pull/7346)
93+
* [`default_numeric_fallback`]: No longer triggers in external macros
94+
[#7325](https://github.com/rust-lang/rust-clippy/pull/7325)
95+
* [`needless_bool`]: No longer lints in macros
96+
[#7442](https://github.com/rust-lang/rust-clippy/pull/7442)
97+
* [`useless_format`]: No longer triggers when additional text is being appended
98+
[#7442](https://github.com/rust-lang/rust-clippy/pull/7442)
99+
* [`assertions_on_constants`]: `cfg!(...)` is no longer considered to be a constant
100+
[#7319](https://github.com/rust-lang/rust-clippy/pull/7319)
101+
102+
### Suggestion Fixes/Improvements
103+
104+
* [`needless_collect`]: Now show correct lint messages for shadowed values
105+
[#7289](https://github.com/rust-lang/rust-clippy/pull/7289)
106+
* [`wrong_pub_self_convention`]: The deprecated message now suggest the correct configuration value
107+
[#7382](https://github.com/rust-lang/rust-clippy/pull/7382)
108+
* [`semicolon_if_nothing_returned`]: Allow missing semicolon in blocks with only one expression
109+
[#7326](https://github.com/rust-lang/rust-clippy/pull/7326)
110+
111+
### ICE Fixes
112+
113+
* [`zero_sized_map_values`]
114+
[#7470](https://github.com/rust-lang/rust-clippy/pull/7470)
115+
* [`redundant_pattern_matching`]
116+
[#7471](https://github.com/rust-lang/rust-clippy/pull/7471)
117+
* [`modulo_one`]
118+
[#7473](https://github.com/rust-lang/rust-clippy/pull/7473)
119+
* [`use_self`]
120+
[#7428](https://github.com/rust-lang/rust-clippy/pull/7428)
121+
122+
### Documentation Improvements
123+
124+
* Reworked Clippy's website:
125+
[#7279](https://github.com/rust-lang/rust-clippy/pull/7279)
126+
[#7172](https://github.com/rust-lang/rust-clippy/issues/7172)
127+
* Added applicability information about lints
128+
* Added a link to jump into the implementation
129+
* Improved loading times
130+
* Adapted some styling
131+
* Clippy now uses a lint to generate its documentation
132+
[#7298](https://github.com/rust-lang/rust-clippy/pull/7298)
133+
134+
### Others
135+
136+
* Stabilized `cargo clippy --fix` :tada:
137+
[#7405](https://github.com/rust-lang/rust-clippy/pull/7405)
10138

11139
## Rust 1.54
12140

13-
Current beta, release 2021-07-29
141+
Current stable, release 2021-07-29
14142

15143
[7c7683c...3ae8faf](https://github.com/rust-lang/rust-clippy/compare/7c7683c...3ae8faf)
16144

@@ -138,7 +266,7 @@ Current beta, release 2021-07-29
138266

139267
## Rust 1.53
140268

141-
Current stable, released 2021-06-17
269+
Released 2021-06-17
142270

143271
[6ed6f1e...7c7683c](https://github.com/rust-lang/rust-clippy/compare/6ed6f1e...7c7683c)
144272

0 commit comments

Comments
 (0)