Skip to content

Commit fdf29c0

Browse files
xFrednetflip1995giraffate
committed
Updated changelog for 1.55
Co-authored-by: Philipp Krones <[email protected]> Co-authored-by: Takayuki Nakata <[email protected]>
1 parent 0cce3f6 commit fdf29c0

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

11141
## Rust 1.54
12142

13-
Current beta, release 2021-07-29
143+
Current stable, released 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)