Skip to content

Commit d398e59

Browse files
committed
Auto merge of #11138 - xFrednet:changelog-1-71, r=flip1995
Changelog for Rust 1.71 👑 Roses are red, violets are blue, new format is tried, it's way less of a fight --- Hey `@rust-lang/clippy,` `@blyxyas,` and `@Centri3,` I've tried the "new"/minimal changelog format we discussed a few meetings ago. I like it, and the writing process was also way quicker. [:framed_picture: Rendered :framed_picture:](https://github.com/xFrednet/rust-clippy/blob/changelog-1-71/CHANGELOG.md#rust-171) Furthermore, a big thank you to `@blyxyas` and `@Alexendoo` for updating the script that fetches the PR commits and adding links to the config values to the changelog. ❤️ --- changelog: none
2 parents 3b43b1e + 7a3756a commit d398e59

File tree

4 files changed

+66
-5
lines changed

4 files changed

+66
-5
lines changed

CHANGELOG.md

+63-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,72 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[83e42a23...master](https://github.com/rust-lang/rust-clippy/compare/83e42a23...master)
9+
[435a8ad8...master](https://github.com/rust-lang/rust-clippy/compare/435a8ad8...master)
10+
11+
## Rust 1.71
12+
13+
Current stable, released 2023-07-13
14+
15+
<!-- FIXME: Remove the request for feedback, with the next changelog -->
16+
17+
We're trying out a new shorter changelog format, that only contains significant changes.
18+
You can check out the list of merged pull requests for a list of all changes.
19+
If you have any feedback related to the new format, please share it in
20+
[#10847](https://github.com/rust-lang/rust-clippy/issues/10847)
21+
22+
[View all 78 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-04-11T20%3A05%3A26Z..2023-05-20T13%3A48%3A17Z+base%3Amaster)
23+
24+
### New Lints
25+
26+
* [`non_minimal_cfg`]
27+
[#10763](https://github.com/rust-lang/rust-clippy/pull/10763)
28+
* [`manual_next_back`]
29+
[#10769](https://github.com/rust-lang/rust-clippy/pull/10769)
30+
* [`ref_patterns`]
31+
[#10736](https://github.com/rust-lang/rust-clippy/pull/10736)
32+
* [`default_constructed_unit_structs`]
33+
[#10716](https://github.com/rust-lang/rust-clippy/pull/10716)
34+
* [`manual_while_let_some`]
35+
[#10647](https://github.com/rust-lang/rust-clippy/pull/10647)
36+
* [`needless_bool_assign`]
37+
[#10432](https://github.com/rust-lang/rust-clippy/pull/10432)
38+
* [`items_after_test_module`]
39+
[#10578](https://github.com/rust-lang/rust-clippy/pull/10578)
40+
41+
### Moves and Deprecations
42+
43+
* Rename `integer_arithmetic` to `arithmetic_side_effects`
44+
[#10674](https://github.com/rust-lang/rust-clippy/pull/10674)
45+
* Moved [`redundant_clone`] to `nursery` (Now allow-by-default)
46+
[#10873](https://github.com/rust-lang/rust-clippy/pull/10873)
47+
48+
### Enhancements
49+
50+
* [`invalid_regex`]: Now supports the new syntax introduced after regex v1.8.0
51+
[#10682](https://github.com/rust-lang/rust-clippy/pull/10682)
52+
* [`semicolon_outside_block`]: Added [`semicolon-outside-block-ignore-multiline`] as a new config value.
53+
[#10656](https://github.com/rust-lang/rust-clippy/pull/10656)
54+
* [`semicolon_inside_block`]: Added [`semicolon-inside-block-ignore-singleline`] as a new config value.
55+
[#10656](https://github.com/rust-lang/rust-clippy/pull/10656)
56+
* [`unnecessary_box_returns`]: Added [`unnecessary-box-size`] as a new config value to set the maximum
57+
size of `T` in `Box<T>` to be linted.
58+
[#10651](https://github.com/rust-lang/rust-clippy/pull/10651)
59+
60+
### Documentation Improvements
61+
62+
* `cargo clippy --explain LINT` now shows possible configuration options for the explained lint
63+
[#10751](https://github.com/rust-lang/rust-clippy/pull/10751)
64+
* New config values mentioned in this changelog will now be linked.
65+
[#10889](https://github.com/rust-lang/rust-clippy/pull/10889)
66+
* Several sections of [Clippy's book] have been reworked
67+
[#10652](https://github.com/rust-lang/rust-clippy/pull/10652)
68+
[#10622](https://github.com/rust-lang/rust-clippy/pull/10622)
69+
70+
[Clippy's book]: https://doc.rust-lang.org/clippy/
1071

1172
## Rust 1.70
1273

13-
Current stable, released 2023-06-01
74+
Released 2023-06-01
1475

1576
[View all 91 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-02-26T01%3A05%3A43Z..2023-04-11T13%3A27%3A30Z+base%3Amaster)
1677

clippy_lints/src/items_after_test_module.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare_clippy_lint! {
3232
/// // [...]
3333
/// }
3434
/// ```
35-
#[clippy::version = "1.70.0"]
35+
#[clippy::version = "1.71.0"]
3636
pub ITEMS_AFTER_TEST_MODULE,
3737
style,
3838
"An item was found after the testing module `tests`"

clippy_lints/src/loops/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ declare_clippy_lint! {
601601
/// // use `number`
602602
/// }
603603
/// ```
604-
#[clippy::version = "1.70.0"]
604+
#[clippy::version = "1.71.0"]
605605
pub MANUAL_WHILE_LET_SOME,
606606
style,
607607
"checking for emptiness of a `Vec` in the loop condition and popping an element in the body"

clippy_lints/src/needless_bool.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ declare_clippy_lint! {
106106
/// # let mut skip: bool;
107107
/// skip = !must_keep(x, y);
108108
/// ```
109-
#[clippy::version = "1.69.0"]
109+
#[clippy::version = "1.71.0"]
110110
pub NEEDLESS_BOOL_ASSIGN,
111111
complexity,
112112
"setting the same boolean variable in both branches of an if-statement"

0 commit comments

Comments
 (0)