Auto merge of #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
This commit is contained in:
commit
eb679c7f34
63
CHANGELOG.md
63
CHANGELOG.md
@ -6,11 +6,68 @@ document.
|
|||||||
|
|
||||||
## Unreleased / Beta / In Rust Nightly
|
## Unreleased / Beta / In Rust Nightly
|
||||||
|
|
||||||
[7671c283...master](https://github.com/rust-lang/rust-clippy/compare/7671c283...master)
|
[09ac14c9...master](https://github.com/rust-lang/rust-clippy/compare/09ac14c9...master)
|
||||||
|
|
||||||
|
## Rust 1.75
|
||||||
|
|
||||||
|
Current stable, released 2023-12-28
|
||||||
|
|
||||||
|
[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)
|
||||||
|
|
||||||
|
### New Lints
|
||||||
|
|
||||||
|
* [`unused_enumerate_index`]
|
||||||
|
[#10404](https://github.com/rust-lang/rust-clippy/pull/10404)
|
||||||
|
* [`unnecessary_fallible_conversions`]
|
||||||
|
[#11669](https://github.com/rust-lang/rust-clippy/pull/11669)
|
||||||
|
* [`waker_clone_wake`]
|
||||||
|
[#11698](https://github.com/rust-lang/rust-clippy/pull/11698)
|
||||||
|
* [`struct_field_names`]
|
||||||
|
[#11496](https://github.com/rust-lang/rust-clippy/pull/11496)
|
||||||
|
* [`into_iter_without_iter`]
|
||||||
|
[#11587](https://github.com/rust-lang/rust-clippy/pull/11587)
|
||||||
|
* [`iter_without_into_iter`]
|
||||||
|
[#11527](https://github.com/rust-lang/rust-clippy/pull/11527)
|
||||||
|
* [`manual_hash_one`]
|
||||||
|
[#11556](https://github.com/rust-lang/rust-clippy/pull/11556)
|
||||||
|
|
||||||
|
|
||||||
|
### Moves and Deprecations
|
||||||
|
|
||||||
|
* Moved [`read_zero_byte_vec`] to `nursery` (Now allow-by-default)
|
||||||
|
[#11727](https://github.com/rust-lang/rust-clippy/pull/11727)
|
||||||
|
* Moved [`missing_enforced_import_renames`] to `style` (Now warn-by-default)
|
||||||
|
[#11539](https://github.com/rust-lang/rust-clippy/pull/11539)
|
||||||
|
* Moved [`needless_raw_string_hashes`] to `pedantic` (Now allow-by-default)
|
||||||
|
[#11415](https://github.com/rust-lang/rust-clippy/pull/11415)
|
||||||
|
* Moved [`needless_pass_by_ref_mut`] to `nursery` (Now allow-by-default)
|
||||||
|
[#11596](https://github.com/rust-lang/rust-clippy/pull/11596)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
* [`declare_interior_mutable_const`] and [`borrow_interior_mutable_const`]: Now follow check the
|
||||||
|
[`ignore-interior-mutability`] config value
|
||||||
|
[#11678](https://github.com/rust-lang/rust-clippy/pull/11678)
|
||||||
|
|
||||||
|
### Suggestion Fixes/Improvements
|
||||||
|
|
||||||
|
* [`items_after_test_module`]: The suggestion is now machine-applicable
|
||||||
|
[#11611](https://github.com/rust-lang/rust-clippy/pull/11611)
|
||||||
|
|
||||||
|
### ICE Fixes
|
||||||
|
|
||||||
|
* [`redundant_locals`]: No longer crashes if variables are rebound above macros
|
||||||
|
[#11623](https://github.com/rust-lang/rust-clippy/pull/11623)
|
||||||
|
* [`implicit_hasher`]: No longer lints inside macros, which could cause ICEs
|
||||||
|
[#11593](https://github.com/rust-lang/rust-clippy/pull/11593)
|
||||||
|
|
||||||
|
### Documentation Improvements
|
||||||
|
|
||||||
|
* `cargo clippy --help` now uses colors for readability :tada:
|
||||||
|
|
||||||
## Rust 1.74
|
## Rust 1.74
|
||||||
|
|
||||||
Current stable, released 2023-11-16
|
Released 2023-11-16
|
||||||
|
|
||||||
[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)
|
[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)
|
||||||
|
|
||||||
@ -51,7 +108,7 @@ Current stable, released 2023-11-16
|
|||||||
### Enhancements
|
### Enhancements
|
||||||
|
|
||||||
* [`undocumented_unsafe_blocks`]: The config values [`accept-comment-above-statement`] and
|
* [`undocumented_unsafe_blocks`]: The config values [`accept-comment-above-statement`] and
|
||||||
[`accept-comment-above-attributes`] to `true` by default
|
[`accept-comment-above-attributes`] are now `true` by default
|
||||||
[#11170](https://github.com/rust-lang/rust-clippy/pull/11170)
|
[#11170](https://github.com/rust-lang/rust-clippy/pull/11170)
|
||||||
* [`explicit_iter_loop`]: Added [`enforce-iter-loop-reborrow`] to disable reborrow linting by default
|
* [`explicit_iter_loop`]: Added [`enforce-iter-loop-reborrow`] to disable reborrow linting by default
|
||||||
[#11418](https://github.com/rust-lang/rust-clippy/pull/11418)
|
[#11418](https://github.com/rust-lang/rust-clippy/pull/11418)
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.74.0"]
|
#[clippy::version = "1.75.0"]
|
||||||
pub ITER_WITHOUT_INTO_ITER,
|
pub ITER_WITHOUT_INTO_ITER,
|
||||||
pedantic,
|
pedantic,
|
||||||
"implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl"
|
"implementing `iter(_mut)` without an associated `IntoIterator for (&|&mut) Type` impl"
|
||||||
@ -101,7 +101,7 @@
|
|||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.74.0"]
|
#[clippy::version = "1.75.0"]
|
||||||
pub INTO_ITER_WITHOUT_ITER,
|
pub INTO_ITER_WITHOUT_ITER,
|
||||||
pedantic,
|
pedantic,
|
||||||
"implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method"
|
"implementing `IntoIterator for (&|&mut) Type` without an inherent `iter(_mut)` method"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
///
|
///
|
||||||
/// let hash = s.hash_one(&value);
|
/// let hash = s.hash_one(&value);
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.74.0"]
|
#[clippy::version = "1.75.0"]
|
||||||
pub MANUAL_HASH_ONE,
|
pub MANUAL_HASH_ONE,
|
||||||
complexity,
|
complexity,
|
||||||
"manual implementations of `BuildHasher::hash_one`"
|
"manual implementations of `BuildHasher::hash_one`"
|
||||||
|
Loading…
Reference in New Issue
Block a user