Skip to content

Commit dfa780e

Browse files
committed
Auto merge of #9324 - flip1995:changelog, r=xFrednet
1.63 Changelog r? `@xFrednet` changelog: none [Rendered](https://github.com/flip1995/rust-clippy/blob/changelog/CHANGELOG.md)
2 parents 05fc1c7 + 35486cb commit dfa780e

File tree

1 file changed

+148
-2
lines changed

1 file changed

+148
-2
lines changed

CHANGELOG.md

Lines changed: 148 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,157 @@ document.
66

77
## Unreleased / In Rust Nightly
88

9-
[7c21f91b...master](https://github.com/rust-lang/rust-clippy/compare/7c21f91b...master)
9+
[d7b5cbf0...master](https://github.com/rust-lang/rust-clippy/compare/d7b5cbf0...master)
10+
11+
## Rust 1.63
12+
13+
Current stable, released 2022-08-11
14+
15+
[7c21f91b...d7b5cbf0](https://github.com/rust-lang/rust-clippy/compare/7c21f91b...d7b5cbf0)
16+
17+
### New Lints
18+
19+
* [`borrow_deref_ref`]
20+
[#7930](https://github.com/rust-lang/rust-clippy/pull/7930)
21+
* [`doc_link_with_quotes`]
22+
[#8385](https://github.com/rust-lang/rust-clippy/pull/8385)
23+
* [`no_effect_replace`]
24+
[#8754](https://github.com/rust-lang/rust-clippy/pull/8754)
25+
* [`rc_clone_in_vec_init`]
26+
[#8769](https://github.com/rust-lang/rust-clippy/pull/8769)
27+
* [`derive_partial_eq_without_eq`]
28+
[#8796](https://github.com/rust-lang/rust-clippy/pull/8796)
29+
* [`mismatching_type_param_order`]
30+
[#8831](https://github.com/rust-lang/rust-clippy/pull/8831)
31+
* [`duplicate_mod`] [#8832](https://github.com/rust-lang/rust-clippy/pull/8832)
32+
* [`unused_rounding`]
33+
[#8866](https://github.com/rust-lang/rust-clippy/pull/8866)
34+
* [`get_first`] [#8882](https://github.com/rust-lang/rust-clippy/pull/8882)
35+
* [`swap_ptr_to_ref`]
36+
[#8916](https://github.com/rust-lang/rust-clippy/pull/8916)
37+
* [`almost_complete_letter_range`]
38+
[#8918](https://github.com/rust-lang/rust-clippy/pull/8918)
39+
* [`needless_parens_on_range_literals`]
40+
[#8933](https://github.com/rust-lang/rust-clippy/pull/8933)
41+
* [`as_underscore`] [#8934](https://github.com/rust-lang/rust-clippy/pull/8934)
42+
43+
### Moves and Deprecations
44+
45+
* Rename `eval_order_dependence` to [`mixed_read_write_in_expression`], move to
46+
`nursery` [#8621](https://github.com/rust-lang/rust-clippy/pull/8621)
47+
48+
### Enhancements
49+
50+
* [`undocumented_unsafe_blocks`]: Now also lints on unsafe trait implementations
51+
[#8761](https://github.com/rust-lang/rust-clippy/pull/8761)
52+
* [`empty_line_after_outer_attr`]: Now also lints on argumentless macros
53+
[#8790](https://github.com/rust-lang/rust-clippy/pull/8790)
54+
* [`expect_used`]: Now can be disabled in tests with the `allow-expect-in-tests`
55+
option [#8802](https://github.com/rust-lang/rust-clippy/pull/8802)
56+
* [`unwrap_used`]: Now can be disabled in tests with the `allow-unwrap-in-tests`
57+
option [#8802](https://github.com/rust-lang/rust-clippy/pull/8802)
58+
* [`disallowed_methods`]: Now also lints indirect usages
59+
[#8852](https://github.com/rust-lang/rust-clippy/pull/8852)
60+
* [`get_last_with_len`]: Now also lints `VecDeque` and any deref to slice
61+
[#8862](https://github.com/rust-lang/rust-clippy/pull/8862)
62+
* [`manual_range_contains`]: Now also lints on chains of `&&` and `||`
63+
[#8884](https://github.com/rust-lang/rust-clippy/pull/8884)
64+
* [`rc_clone_in_vec_init`]: Now also lints on `Weak`
65+
[#8885](https://github.com/rust-lang/rust-clippy/pull/8885)
66+
* [`dbg_macro`]: Introduce `allow-dbg-in-tests` config option
67+
[#8897](https://github.com/rust-lang/rust-clippy/pull/8897)
68+
* [`use_self`]: Now also lints on `TupleStruct` and `Struct` patterns
69+
[#8899](https://github.com/rust-lang/rust-clippy/pull/8899)
70+
* [`manual_find_map`] and [`manual_filter_map`]: Now also lints on more complex
71+
method chains inside `map`
72+
[#8930](https://github.com/rust-lang/rust-clippy/pull/8930)
73+
* [`needless_return`]: Now also lints on macro expressions in return statements
74+
[#8932](https://github.com/rust-lang/rust-clippy/pull/8932)
75+
* [`doc_markdown`]: Users can now indicate, that the `doc-valid-idents` config
76+
should extend the default and not replace it
77+
[#8944](https://github.com/rust-lang/rust-clippy/pull/8944)
78+
* [`disallowed_names`]: Users can now indicate, that the `disallowed-names`
79+
config should extend the default and not replace it
80+
[#8944](https://github.com/rust-lang/rust-clippy/pull/8944)
81+
* [`never_loop`]: Now checks for `continue` in struct expression
82+
[#9002](https://github.com/rust-lang/rust-clippy/pull/9002)
83+
84+
### False Positive Fixes
85+
86+
* [`useless_transmute`]: No longer lints on types with erased regions
87+
[#8564](https://github.com/rust-lang/rust-clippy/pull/8564)
88+
* [`vec_init_then_push`]: No longer lints when further extended
89+
[#8699](https://github.com/rust-lang/rust-clippy/pull/8699)
90+
* [`cmp_owned`]: No longer lints on `From::from` for `Copy` types
91+
[#8807](https://github.com/rust-lang/rust-clippy/pull/8807)
92+
* [`redundant_allocation`]: No longer lints on fat pointers that would become
93+
thin pointers [#8813](https://github.com/rust-lang/rust-clippy/pull/8813)
94+
* [`derive_partial_eq_without_eq`]:
95+
* Handle differing predicates applied by `#[derive(PartialEq)]` and
96+
`#[derive(Eq)]`
97+
[#8869](https://github.com/rust-lang/rust-clippy/pull/8869)
98+
* No longer lints on non-public types and better handles generics
99+
[#8950](https://github.com/rust-lang/rust-clippy/pull/8950)
100+
* [`empty_line_after_outer_attr`]: No longer lints empty lines in inner
101+
string values [#8892](https://github.com/rust-lang/rust-clippy/pull/8892)
102+
* [`branches_sharing_code`]: No longer lints when using different binding names
103+
[#8901](https://github.com/rust-lang/rust-clippy/pull/8901)
104+
* [`significant_drop_in_scrutinee`]: No longer lints on Try `?` and `await`
105+
desugared expressions [#8902](https://github.com/rust-lang/rust-clippy/pull/8902)
106+
* [`checked_conversions`]: No longer lints in `const` contexts
107+
[#8907](https://github.com/rust-lang/rust-clippy/pull/8907)
108+
* [`iter_overeager_cloned`]: No longer lints on `.cloned().flatten()` when
109+
`T::Item` doesn't implement `IntoIterator`
110+
[#8960](https://github.com/rust-lang/rust-clippy/pull/8960)
111+
112+
### Suggestion Fixes/Improvements
113+
114+
* [`vec_init_then_push`]: Suggest to remove `mut` binding when possible
115+
[#8699](https://github.com/rust-lang/rust-clippy/pull/8699)
116+
* [`manual_range_contains`]: Fix suggestion for integers with different signs
117+
[#8763](https://github.com/rust-lang/rust-clippy/pull/8763)
118+
* [`identity_op`]: Add parenthesis to suggestions where required
119+
[#8786](https://github.com/rust-lang/rust-clippy/pull/8786)
120+
* [`cast_lossless`]: No longer gives wrong suggestion on `usize`/`isize`->`f64`
121+
[#8778](https://github.com/rust-lang/rust-clippy/pull/8778)
122+
* [`rc_clone_in_vec_init`]: Add suggestion
123+
[#8814](https://github.com/rust-lang/rust-clippy/pull/8814)
124+
* The "unknown field" error messages for config files now wraps the field names
125+
[#8823](https://github.com/rust-lang/rust-clippy/pull/8823)
126+
* [`cast_abs_to_unsigned`]: Do not remove cast if it's required
127+
[#8876](https://github.com/rust-lang/rust-clippy/pull/8876)
128+
* [`significant_drop_in_scrutinee`]: Improve lint message for types that are not
129+
references and not trivially clone-able
130+
[#8902](https://github.com/rust-lang/rust-clippy/pull/8902)
131+
* [`for_loops_over_fallibles`]: Now suggests the correct variant of `iter()`,
132+
`iter_mut()` or `into_iter()`
133+
[#8941](https://github.com/rust-lang/rust-clippy/pull/8941)
134+
135+
### ICE Fixes
136+
137+
* Fix ICE in [`let_unit_value`] when calling a `static`/`const` callable type
138+
[#8835](https://github.com/rust-lang/rust-clippy/pull/8835)
139+
* Fix ICEs on callable `static`/`const`s
140+
[#8896](https://github.com/rust-lang/rust-clippy/pull/8896)
141+
* [`needless_late_init`]
142+
[#8912](https://github.com/rust-lang/rust-clippy/pull/8912)
143+
* Fix ICE in shadow lints
144+
[#8913](https://github.com/rust-lang/rust-clippy/pull/8913)
145+
146+
### Documentation Improvements
147+
148+
* Clippy has a [Book](https://doc.rust-lang.org/nightly/clippy/) now!
149+
[#7359](https://github.com/rust-lang/rust-clippy/pull/7359)
150+
* Add a *copy lint name*-button to Clippy's lint list
151+
[#8839](https://github.com/rust-lang/rust-clippy/pull/8839)
152+
* Display past names of renamed lints on Clippy's lint list
153+
[#8843](https://github.com/rust-lang/rust-clippy/pull/8843)
154+
* Add the ability to show the lint output in the lint list
155+
[#8947](https://github.com/rust-lang/rust-clippy/pull/8947)
10156

11157
## Rust 1.62
12158

13-
Current stable, released 2022-06-30
159+
Released 2022-06-30
14160

15161
[d0cf3481...7c21f91b](https://github.com/rust-lang/rust-clippy/compare/d0cf3481...7c21f91b)
16162

0 commit comments

Comments
 (0)