Skip to content

Commit eb679c7

Browse files
committed
Auto merge of rust-lang#12019 - xFrednet:changelog-1-75, r=flip1995
Changelog for Rust 1.75 🎄 Roses are red, Violets are blue, Another year of development, And a strong team, too --- ### The cat of this release: <img width=500 src="https://cdn2.thecatapi.com/images/49r.gif?api_key=live_iA7QQQ2LdohvDfCghXThmLqVYCZ9kXIwGMcwyJyaYyOTRC8NZSYqykPoc2UypsMi" alt="The cats of this Clippy release" /> <sub>The cat for the next release can be nominated in the comments</sub> --- changelog: none
2 parents 9dd2252 + 2087e24 commit eb679c7

File tree

3 files changed

+63
-6
lines changed

3 files changed

+63
-6
lines changed

CHANGELOG.md

+60-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,68 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[7671c283...master](https://github.com/rust-lang/rust-clippy/compare/7671c283...master)
9+
[09ac14c9...master](https://github.com/rust-lang/rust-clippy/compare/09ac14c9...master)
10+
11+
## Rust 1.75
12+
13+
Current stable, released 2023-12-28
14+
15+
[View all 69 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-09-25T11%3A47%3A47Z..2023-11-02T16%3A41%3A59Z+base%3Amaster)
16+
17+
### New Lints
18+
19+
* [`unused_enumerate_index`]
20+
[#10404](https://github.com/rust-lang/rust-clippy/pull/10404)
21+
* [`unnecessary_fallible_conversions`]
22+
[#11669](https://github.com/rust-lang/rust-clippy/pull/11669)
23+
* [`waker_clone_wake`]
24+
[#11698](https://github.com/rust-lang/rust-clippy/pull/11698)
25+
* [`struct_field_names`]
26+
[#11496](https://github.com/rust-lang/rust-clippy/pull/11496)
27+
* [`into_iter_without_iter`]
28+
[#11587](https://github.com/rust-lang/rust-clippy/pull/11587)
29+
* [`iter_without_into_iter`]
30+
[#11527](https://github.com/rust-lang/rust-clippy/pull/11527)
31+
* [`manual_hash_one`]
32+
[#11556](https://github.com/rust-lang/rust-clippy/pull/11556)
33+
34+
35+
### Moves and Deprecations
36+
37+
* Moved [`read_zero_byte_vec`] to `nursery` (Now allow-by-default)
38+
[#11727](https://github.com/rust-lang/rust-clippy/pull/11727)
39+
* Moved [`missing_enforced_import_renames`] to `style` (Now warn-by-default)
40+
[#11539](https://github.com/rust-lang/rust-clippy/pull/11539)
41+
* Moved [`needless_raw_string_hashes`] to `pedantic` (Now allow-by-default)
42+
[#11415](https://github.com/rust-lang/rust-clippy/pull/11415)
43+
* Moved [`needless_pass_by_ref_mut`] to `nursery` (Now allow-by-default)
44+
[#11596](https://github.com/rust-lang/rust-clippy/pull/11596)
45+
46+
### Enhancements
47+
48+
* [`declare_interior_mutable_const`] and [`borrow_interior_mutable_const`]: Now follow check the
49+
[`ignore-interior-mutability`] config value
50+
[#11678](https://github.com/rust-lang/rust-clippy/pull/11678)
51+
52+
### Suggestion Fixes/Improvements
53+
54+
* [`items_after_test_module`]: The suggestion is now machine-applicable
55+
[#11611](https://github.com/rust-lang/rust-clippy/pull/11611)
56+
57+
### ICE Fixes
58+
59+
* [`redundant_locals`]: No longer crashes if variables are rebound above macros
60+
[#11623](https://github.com/rust-lang/rust-clippy/pull/11623)
61+
* [`implicit_hasher`]: No longer lints inside macros, which could cause ICEs
62+
[#11593](https://github.com/rust-lang/rust-clippy/pull/11593)
63+
64+
### Documentation Improvements
65+
66+
* `cargo clippy --help` now uses colors for readability :tada:
1067

1168
## Rust 1.74
1269

13-
Current stable, released 2023-11-16
70+
Released 2023-11-16
1471

1572
[View all 94 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-08-11T15%3A29%3A18Z..2023-09-25T08%3A48%3A22Z+base%3Amaster)
1673

@@ -51,7 +108,7 @@ Current stable, released 2023-11-16
51108
### Enhancements
52109

53110
* [`undocumented_unsafe_blocks`]: The config values [`accept-comment-above-statement`] and
54-
[`accept-comment-above-attributes`] to `true` by default
111+
[`accept-comment-above-attributes`] are now `true` by default
55112
[#11170](https://github.com/rust-lang/rust-clippy/pull/11170)
56113
* [`explicit_iter_loop`]: Added [`enforce-iter-loop-reborrow`] to disable reborrow linting by default
57114
[#11418](https://github.com/rust-lang/rust-clippy/pull/11418)

clippy_lints/src/iter_without_into_iter.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ declare_clippy_lint! {
4949
/// }
5050
/// }
5151
/// ```
52-
#[clippy::version = "1.74.0"]
52+
#[clippy::version = "1.75.0"]
5353
pub ITER_WITHOUT_INTO_ITER,
5454
pedantic,
5555
"implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl"
@@ -101,7 +101,7 @@ declare_clippy_lint! {
101101
/// }
102102
/// }
103103
/// ```
104-
#[clippy::version = "1.74.0"]
104+
#[clippy::version = "1.75.0"]
105105
pub INTO_ITER_WITHOUT_ITER,
106106
pedantic,
107107
"implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method"

clippy_lints/src/manual_hash_one.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ declare_clippy_lint! {
4040
///
4141
/// let hash = s.hash_one(&value);
4242
/// ```
43-
#[clippy::version = "1.74.0"]
43+
#[clippy::version = "1.75.0"]
4444
pub MANUAL_HASH_ONE,
4545
complexity,
4646
"manual implementations of `BuildHasher::hash_one`"

0 commit comments

Comments
 (0)