Skip to content

Commit edad94f

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

File tree

1 file changed

+133
-3
lines changed

1 file changed

+133
-3
lines changed

CHANGELOG.md

+133-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,141 @@ 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
67+
or hidden variants
68+
[#7407](https://github.com/rust-lang/rust-clippy/pull/7407)
69+
* [`redundant_allocation`]: Now additionally supports the `Arc<>` type
70+
[#7308](https://github.com/rust-lang/rust-clippy/pull/7308)
71+
* [`blacklisted_name`]: Now allows blacklisted names in test code
72+
[#7379](https://github.com/rust-lang/rust-clippy/pull/7379)
73+
* [`redundant_closure`]: Suggests `&mut` for `FnMut`
74+
[#7437](https://github.com/rust-lang/rust-clippy/pull/7437)
75+
* [`disallowed_method`], [`disallowed_type`]: The configuration values `disallowed-method` and `disallowed_type`
76+
no longer require fully qualified paths
77+
[#7345](https://github.com/rust-lang/rust-clippy/pull/7345)
78+
* [`zst_offset`]: Fixed lint invocation after it was accidentally suppressed
79+
[#7396](https://github.com/rust-lang/rust-clippy/pull/7396)
80+
81+
### False Positive Fixes
82+
83+
* [`default_numeric_fallback`]: No longer lints on float literals as function arguments
84+
[#7446](https://github.com/rust-lang/rust-clippy/pull/7446)
85+
* [`use_self`]: No longer lints on type parameters
86+
[#7288](https://github.com/rust-lang/rust-clippy/pull/7288)
87+
* [`unimplemented`]: Now ignores the `assert` and `debug_assert` macros
88+
[#7439](https://github.com/rust-lang/rust-clippy/pull/7439)
89+
* [`branches_sharing_code`]: Now always checks for block expressions
90+
[#7462](https://github.com/rust-lang/rust-clippy/pull/7462)
91+
* [`field_reassign_with_default`]: No longer triggers in macros
92+
[#7160](https://github.com/rust-lang/rust-clippy/pull/7160)
93+
* [`redundant_clone`]: No longer lints on required clones for borrowed data
94+
[#7346](https://github.com/rust-lang/rust-clippy/pull/7346)
95+
* [`default_numeric_fallback`]: No longer triggers in external macros
96+
[#7325](https://github.com/rust-lang/rust-clippy/pull/7325)
97+
* [`needless_bool`]: No longer lints in macros
98+
[#7442](https://github.com/rust-lang/rust-clippy/pull/7442)
99+
* [`useless_format`]: No longer triggers when additional text is being appended
100+
[#7442](https://github.com/rust-lang/rust-clippy/pull/7442)
101+
* [`assertions_on_constants`]: `cfg!(...)` is no longer considered to be a constant
102+
[#7319](https://github.com/rust-lang/rust-clippy/pull/7319)
103+
104+
### Suggestion Fixes/Improvements
105+
106+
* [`needless_collect`]: Now show correct lint messages for shadowed values
107+
[#7289](https://github.com/rust-lang/rust-clippy/pull/7289)
108+
* [`wrong_pub_self_convention`]: The deprecated message now suggest the correct configuration value
109+
[#7382](https://github.com/rust-lang/rust-clippy/pull/7382)
110+
* [`semicolon_if_nothing_returned`]: Allow missing semicolon in blocks with only one expression
111+
[#7326](https://github.com/rust-lang/rust-clippy/pull/7326)
112+
113+
### ICE Fixes
114+
115+
* [`zero_sized_map_values`]
116+
[#7470](https://github.com/rust-lang/rust-clippy/pull/7470)
117+
* [`redundant_pattern_matching`]
118+
[#7471](https://github.com/rust-lang/rust-clippy/pull/7471)
119+
* [`modulo_one`]
120+
[#7473](https://github.com/rust-lang/rust-clippy/pull/7473)
121+
* [`use_self`]
122+
[#7428](https://github.com/rust-lang/rust-clippy/pull/7428)
123+
124+
### Documentation Improvements
125+
126+
* Reworked Clippy's website:
127+
[#7279](https://github.com/rust-lang/rust-clippy/pull/7279)
128+
[#7172](https://github.com/rust-lang/rust-clippy/issues/7172)
129+
* Added applicability information about lints
130+
* Added a link to jump into the implementation
131+
* Improved loading times
132+
* Adapted some styling
133+
* Clippy now uses a lint to generate its documentation
134+
[#7298](https://github.com/rust-lang/rust-clippy/pull/7298)
135+
136+
### Others
137+
138+
* Stabilized `cargo clippy --fix` :tada:
139+
[#7405](https://github.com/rust-lang/rust-clippy/pull/7405)
10140

11141
## Rust 1.54
12142

13-
Current beta, release 2021-07-29
143+
Current stable, release 2021-07-29
14144

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

@@ -138,7 +268,7 @@ Current beta, release 2021-07-29
138268

139269
## Rust 1.53
140270

141-
Current stable, released 2021-06-17
271+
Released 2021-06-17
142272

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

0 commit comments

Comments
 (0)