mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Changelog for Rust 1.74 🎃
This commit is contained in:
parent
9401cf21e4
commit
cab975c713
1 changed files with 61 additions and 2 deletions
63
CHANGELOG.md
63
CHANGELOG.md
|
@ -6,11 +6,70 @@ document.
|
|||
|
||||
## Unreleased / Beta / In Rust Nightly
|
||||
|
||||
[1e8fdf49...master](https://github.com/rust-lang/rust-clippy/compare/1e8fdf49...master)
|
||||
[7671c283...master](https://github.com/rust-lang/rust-clippy/compare/7671c283...master)
|
||||
|
||||
## Rust 1.74
|
||||
|
||||
Current stable, 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)
|
||||
|
||||
### New Lints
|
||||
|
||||
* [`redundant_as_str`]
|
||||
[#11526](https://github.com/rust-lang/rust-clippy/pull/11526)
|
||||
* [`needless_borrows_for_generic_args`]
|
||||
[#11511](https://github.com/rust-lang/rust-clippy/pull/11511)
|
||||
* [`path_ends_with_ext`]
|
||||
[#11483](https://github.com/rust-lang/rust-clippy/pull/11483)
|
||||
* [`unnecessary_map_on_constructor`]
|
||||
[#11413](https://github.com/rust-lang/rust-clippy/pull/11413)
|
||||
* [`missing_asserts_for_indexing`]
|
||||
[#10692](https://github.com/rust-lang/rust-clippy/pull/10692)
|
||||
* [`iter_out_of_bounds`]
|
||||
[#11396](https://github.com/rust-lang/rust-clippy/pull/11396)
|
||||
* [`implied_bounds_in_impls`]
|
||||
[#11362](https://github.com/rust-lang/rust-clippy/pull/11362)
|
||||
* [`reserve_after_initialization`]
|
||||
[#11373](https://github.com/rust-lang/rust-clippy/pull/11373)
|
||||
* [`should_panic_without_expect`]
|
||||
[#11204](https://github.com/rust-lang/rust-clippy/pull/11204)
|
||||
|
||||
### Moves and Deprecations
|
||||
|
||||
* Renamed `incorrect_clone_impl_on_copy_type` to [`non_canonical_clone_impl`]
|
||||
[#11358](https://github.com/rust-lang/rust-clippy/pull/11358)
|
||||
* Renamed `incorrect_partial_ord_impl_on_ord_type` to [`non_canonical_partial_ord_impl`]
|
||||
[#11358](https://github.com/rust-lang/rust-clippy/pull/11358)
|
||||
* Moved [`non_canonical_clone_impl`] to `suspicious` (Now warn-by-default)
|
||||
[#11358](https://github.com/rust-lang/rust-clippy/pull/11358)
|
||||
* Moved [`non_canonical_partial_ord_impl`] to `suspicious` (Now warn-by-default)
|
||||
[#11358](https://github.com/rust-lang/rust-clippy/pull/11358)
|
||||
* Moved [`needless_pass_by_ref_mut`] to `nursery` (Now allow-by-default)
|
||||
[#11596](https://github.com/rust-lang/rust-clippy/pull/11596)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* [`undocumented_unsafe_blocks`]: The config values [`accept-comment-above-statement`] and
|
||||
[`accept-comment-above-attributes`] to `true` by default
|
||||
[#11170](https://github.com/rust-lang/rust-clippy/pull/11170)
|
||||
* [`explicit_iter_loop`]: Added [`enforce-iter-loop-reborrow`] to disable reborrow linting by default
|
||||
[#11418](https://github.com/rust-lang/rust-clippy/pull/11418)
|
||||
|
||||
### ICE Fixes
|
||||
|
||||
* [`enum_variant_names`]: No longer crashes if the threshold is 0 and the enum has no variants
|
||||
[#11552](https://github.com/rust-lang/rust-clippy/pull/11552)
|
||||
* [`cast_possible_truncation`]: No longer crashes on values larger than `u64::MAX`
|
||||
[#11517](https://github.com/rust-lang/rust-clippy/pull/11517)
|
||||
* [`tuple_array_conversions`]: No longer crashes if the array length is not usize
|
||||
[#11379](https://github.com/rust-lang/rust-clippy/pull/11379)
|
||||
* [`useless_conversion`]: No longer crashes, when the receiver is a non-fn item
|
||||
[#11070](https://github.com/rust-lang/rust-clippy/pull/11070)
|
||||
|
||||
## Rust 1.73
|
||||
|
||||
Current stable, released 2023-10-05
|
||||
Released 2023-10-05
|
||||
|
||||
[View all 103 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-07-02T12%3A24%3A40Z..2023-08-11T11%3A09%3A56Z+base%3Amaster)
|
||||
|
||||
|
|
Loading…
Reference in a new issue