Skip to content

Commit 5dc5842

Browse files
authored
Changelog for Clippy 1.83 🤖 (rust-lang#13716)
This is in honor of `@bors` who is no longer used in this repo. I've been saving this poem for a special PR, but it just seems fitting to use it now: Bors the bot, Handsome and strong! Will you go with me, To prom? --- ### The cat of this release is Abu nominated by @jdonszelmann : <img height=700 src="https://github.com/user-attachments/assets/414f24a1-8bbf-4fed-bcbc-acc5ca6a1353" alt="The cats of this Clippy release" /> Cats for the next release can be nominated in the comments :D --- changelog: none
2 parents b4163f0 + 45e1a3a commit 5dc5842

File tree

6 files changed

+52
-7
lines changed

6 files changed

+52
-7
lines changed

CHANGELOG.md

+47-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,56 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[0f8eabd6...master](https://github.com/rust-lang/rust-clippy/compare/0f8eabd6...master)
9+
[aa0d5513...master](https://github.com/rust-lang/rust-clippy/compare/aa0d5513...master)
10+
11+
## Rust 1.83
12+
13+
Current stable, released 2024-11-28
14+
15+
[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)
16+
17+
### Important Change
18+
19+
* Removed the implicit `cargo-clippy` feature set by Clippy as announced here:
20+
<https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy.html>
21+
[#13246](https://github.com/rust-lang/rust-clippy/pull/13246)
22+
23+
### New Lints
24+
25+
* Added [`unused_trait_names`] to `restriction`
26+
[#13322](https://github.com/rust-lang/rust-clippy/pull/13322)
27+
* Added [`unnecessary_first_then_check`] to `complexity`
28+
[#13421](https://github.com/rust-lang/rust-clippy/pull/13421)
29+
* Added [`non_zero_suggestions`] to `restriction`
30+
[#13167](https://github.com/rust-lang/rust-clippy/pull/13167)
31+
* Added [`manual_is_power_of_two`] to `pedantic`
32+
[#13327](https://github.com/rust-lang/rust-clippy/pull/13327)
33+
* Added [`manual_div_ceil`] to `complexity`
34+
[#12987](https://github.com/rust-lang/rust-clippy/pull/12987)
35+
* Added [`zombie_processes`] to `suspicious`
36+
[#11476](https://github.com/rust-lang/rust-clippy/pull/11476)
37+
* Added [`used_underscore_items`] to `pedantic`
38+
[#13294](https://github.com/rust-lang/rust-clippy/pull/13294)
39+
40+
### Moves and Deprecations
41+
42+
* Moved [`ref_option`] to `pedantic` (From `nursery`)
43+
[#13469](https://github.com/rust-lang/rust-clippy/pull/13469)
44+
* Moved [`manual_c_str_literals`] to `complexity` (From `pedantic`, now warn-by-default)
45+
[#13263](https://github.com/rust-lang/rust-clippy/pull/13263)
46+
* Moved [`empty_line_after_doc_comments`] to `suspicious` (From `nursery`, now warn-by-default)
47+
[#13091](https://github.com/rust-lang/rust-clippy/pull/13091)
48+
* Moved [`empty_line_after_outer_attr`] to `suspicious` (From `nursery`, now warn-by-default)
49+
[#13091](https://github.com/rust-lang/rust-clippy/pull/13091)
50+
51+
### Enhancements
52+
53+
* [`missing_panics_doc`]: No longer lints in const environments
54+
[#13382](https://github.com/rust-lang/rust-clippy/pull/13382)
1055

1156
## Rust 1.82
1257

13-
Current stable, released 2024-10-17
58+
Released 2024-10-17
1459

1560
[View all 108 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-07-11T20%3A12%3A07Z..2024-08-24T20%3A55%3A35Z+base%3Amaster)
1661

clippy_lints/src/manual_div_ceil.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// let y: i32 = 4;
3636
/// let div = x.div_ceil(y);
3737
/// ```
38-
#[clippy::version = "1.81.0"]
38+
#[clippy::version = "1.83.0"]
3939
pub MANUAL_DIV_CEIL,
4040
complexity,
4141
"manually reimplementing `div_ceil`"

clippy_lints/src/manual_is_power_of_two.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ declare_clippy_lint! {
2727
/// let a: u32 = 4;
2828
/// let result = a.is_power_of_two();
2929
/// ```
30-
#[clippy::version = "1.82.0"]
30+
#[clippy::version = "1.83.0"]
3131
pub MANUAL_IS_POWER_OF_TWO,
3232
pedantic,
3333
"manually reimplementing `is_power_of_two`"

clippy_lints/src/misc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ declare_clippy_lint! {
114114
/// let _ = FooStruct{};
115115
/// }
116116
/// ```
117-
#[clippy::version = "pre 1.29.0"]
117+
#[clippy::version = "1.83.0"]
118118
pub USED_UNDERSCORE_ITEMS,
119119
pedantic,
120120
"using a item which is prefixed with an underscore"

clippy_lints/src/non_zero_suggestions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ declare_clippy_lint! {
3939
/// let r2 = x % NonZeroU64::from(y);
4040
/// }
4141
/// ```
42-
#[clippy::version = "1.81.0"]
42+
#[clippy::version = "1.83.0"]
4343
pub NON_ZERO_SUGGESTIONS,
4444
restriction,
4545
"suggests using `NonZero#` from `u#` or `i#` for more efficient and type-safe conversions"

clippy_lints/src/zombie_processes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare_clippy_lint! {
3535
/// let mut child = Command::new("ls").spawn().expect("failed to execute child");
3636
/// child.wait().expect("failed to wait on child");
3737
/// ```
38-
#[clippy::version = "1.74.0"]
38+
#[clippy::version = "1.83.0"]
3939
pub ZOMBIE_PROCESSES,
4040
suspicious,
4141
"not waiting on a spawned child process"

0 commit comments

Comments
 (0)