Skip to content

Commit a9c0e22

Browse files
authored
Changelog for Clippy 1.84 🧨 (#13937)
Roses are red, Violets are blue, Happy new year, full of happiness and cheer! --- ### The cat of this release is lizzy nominated by @jdonszelmann: <img height=700 src="https://github.com/user-attachments/assets/612834d0-d584-4bf3-b11e-3564456c10ee" alt="The cats of this Clippy release" /> Cats for the next release can be nominated in the comments :D --- I've also updated the template to include the text I usually use for moves, renames, or new lints. changelog: none --- That's it happy new year, kings, queens, and all other royalty! ❤️
2 parents ad69c65 + 622382b commit a9c0e22

File tree

5 files changed

+51
-5
lines changed

5 files changed

+51
-5
lines changed

CHANGELOG.md

+43-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,52 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[aa0d5513...master](https://github.com/rust-lang/rust-clippy/compare/aa0d5513...master)
9+
[786fbd6d...master](https://github.com/rust-lang/rust-clippy/compare/786fbd6d...master)
10+
11+
## Rust 1.84
12+
13+
Current stable, released 2025-01-09
14+
15+
[View all 84 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-10-03T21%3A23%3A58Z..2024-11-14T17%3A41%3A37Z+base%3Amaster)
16+
17+
### New Lints
18+
19+
* Added [`unnecessary_map_or`] to `style`
20+
[#11796](https://github.com/rust-lang/rust-clippy/pull/11796)
21+
* Added [`arbitrary_source_item_ordering`] to `restriction`
22+
[#13376](https://github.com/rust-lang/rust-clippy/pull/13376)
23+
* Added [`map_with_unused_argument_over_ranges`] to `restriction`
24+
[#13034](https://github.com/rust-lang/rust-clippy/pull/13034)
25+
* Added [`map_all_any_identity`] to `complexity`
26+
[#13499](https://github.com/rust-lang/rust-clippy/pull/13499)
27+
* Added [`needless_as_bytes`] to `complexity`
28+
[#13437](https://github.com/rust-lang/rust-clippy/pull/13437)
29+
* Added [`unnecessary_literal_bound`] to `pedantic`
30+
[#13395](https://github.com/rust-lang/rust-clippy/pull/13395)
31+
* Added [`manual_ignore_case_cmp`] to `perf`
32+
[#13334](https://github.com/rust-lang/rust-clippy/pull/13334)
33+
* Added [`regex_creation_in_loops`] to `perf`
34+
[#13412](https://github.com/rust-lang/rust-clippy/pull/13412)
35+
36+
### Moves and Deprecations
37+
38+
* Moved [`manual_is_power_of_two`] to `pedantic` (From `complexity`, now allow-by-default)
39+
[#13553](https://github.com/rust-lang/rust-clippy/pull/13553)
40+
* Move [`module_name_repetitions`] to `restriction` (from `pedantic`)
41+
[#13541](https://github.com/rust-lang/rust-clippy/pull/13541)
42+
43+
### Enhancements
44+
45+
* [`doc_markdown`]: Added the following identifiers to [`doc-valid-idents`]:
46+
CoAP, MHz, GHz, and THz
47+
[#13633](https://github.com/rust-lang/rust-clippy/pull/13633)
48+
[#13460](https://github.com/rust-lang/rust-clippy/pull/13460)
49+
* [`large_const_arrays`]: Changed the default of [`array-size-threshold`] to `16kb` (from `512kb`)
50+
[#13485](https://github.com/rust-lang/rust-clippy/pull/13485)
1051

1152
## Rust 1.83
1253

13-
Current stable, released 2024-11-28
54+
Released 2024-11-28
1455

1556
[View all 64 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-08-25T09%3A59%3A01Z..2024-10-03T13%3A42%3A56Z+base%3Amaster)
1657

book/src/development/infrastructure/changelog_update.md

+5
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ As section headers, we use:
8383

8484
```
8585
### New Lints
86+
* Added [`LINT`] to `GROUP`
87+
8688
### Moves and Deprecations
89+
* Moved [`LINT`] to `GROUP` (From `GROUP`, now LEVEL-by-default)
90+
* Renamed `LINT` to [`LINT`]
91+
8792
### Enhancements
8893
### False Positive Fixes
8994
### Suggestion Fixes/Improvements

clippy_lints/src/manual_ignore_case_cmp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare_clippy_lint! {
3232
/// a.eq_ignore_ascii_case(b) || a.eq_ignore_ascii_case("abc")
3333
/// }
3434
/// ```
35-
#[clippy::version = "1.82.0"]
35+
#[clippy::version = "1.84.0"]
3636
pub MANUAL_IGNORE_CASE_CMP,
3737
perf,
3838
"manual case-insensitive ASCII comparison"

clippy_lints/src/regex.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ declare_clippy_lint! {
9797
/// }
9898
/// }
9999
/// ```
100-
#[clippy::version = "1.83.0"]
100+
#[clippy::version = "1.84.0"]
101101
pub REGEX_CREATION_IN_LOOPS,
102102
perf,
103103
"regular expression compilation performed in a loop"

clippy_lints/src/unnecessary_literal_bound.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ declare_clippy_lint! {
4747
/// }
4848
/// }
4949
/// ```
50-
#[clippy::version = "1.83.0"]
50+
#[clippy::version = "1.84.0"]
5151
pub UNNECESSARY_LITERAL_BOUND,
5252
pedantic,
5353
"detects &str that could be &'static str in function return types"

0 commit comments

Comments
 (0)