Skip to content

Commit 7ac1529

Browse files
committed
Changelog for Clippy 1.78 🪄
1 parent b1fa284 commit 7ac1529

File tree

1 file changed

+66
-2
lines changed

1 file changed

+66
-2
lines changed

CHANGELOG.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,75 @@ document.
66

77
## Unreleased / Beta / In Rust Nightly
88

9-
[66c29b97...master](https://github.com/rust-lang/rust-clippy/compare/66c29b97...master)
9+
[93f0a9a9...master](https://github.com/rust-lang/rust-clippy/compare/93f0a9a9...master)
10+
11+
## Rust 1.78
12+
13+
Current stable, released 2024-05-02
14+
15+
[View all 112 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-01-26T05%3A46%3A23Z..2024-03-07T16%3A25%3A52Z+base%3Amaster)
16+
17+
### Important Changes
18+
19+
* In a few versions, `cargo-clippy` will now no longer ignore the first argument.
20+
Passing in `clippy` as the first argument like cargo does will continue to work.
21+
However, arguments like `--fix` will soon issue a warning and will no longer be.
22+
`cargo clippy` (without `-`!) is unaffected by this change.
23+
[#9461](https://github.com/rust-lang/rust-clippy/pull/9461)
24+
25+
### New Lints
26+
27+
* [`assigning_clones`]
28+
[#12077](https://github.com/rust-lang/rust-clippy/pull/12077)
29+
* [`mixed_attributes_style`]
30+
[#12354](https://github.com/rust-lang/rust-clippy/pull/12354)
31+
* [`empty_docs`]
32+
[#12342](https://github.com/rust-lang/rust-clippy/pull/12342)
33+
* [`unnecessary_get_then_check`]
34+
[#12339](https://github.com/rust-lang/rust-clippy/pull/12339)
35+
* [`multiple_bound_locations`]
36+
[#12259](https://github.com/rust-lang/rust-clippy/pull/12259)
37+
* [`unnecessary_clippy_cfg`]
38+
[#12303](https://github.com/rust-lang/rust-clippy/pull/12303)
39+
* [`deprecated_clippy_cfg_attr`]
40+
[#12292](https://github.com/rust-lang/rust-clippy/pull/12292)
41+
* [`manual_c_str_literals`]
42+
[#11919](https://github.com/rust-lang/rust-clippy/pull/11919)
43+
* [`ref_as_ptr`]
44+
[#12087](https://github.com/rust-lang/rust-clippy/pull/12087)
45+
* [`lint_groups_priority`]
46+
[#11832](https://github.com/rust-lang/rust-clippy/pull/11832)
47+
* [`unnecessary_result_map_or_else`]
48+
[#12169](https://github.com/rust-lang/rust-clippy/pull/12169)
49+
* [`to_string_trait_impl`]
50+
[#12122](https://github.com/rust-lang/rust-clippy/pull/12122)
51+
* [`incompatible_msrv`]
52+
[#12160](https://github.com/rust-lang/rust-clippy/pull/12160)
53+
54+
### Moves and Deprecations
55+
56+
* Moved [`mixed_attributes_style`] to `style` (Remains warn-by-default)
57+
[#12572](https://github.com/rust-lang/rust-clippy/pull/12572)
58+
59+
### Enhancements
60+
61+
* [`thread_local_initializer_can_be_made_const`]: Now checks the [`msrv`] configuration
62+
[#12405](https://github.com/rust-lang/rust-clippy/pull/12405)
63+
* [`disallowed_macros`]: Code generated by derive macros can no longer allow this lint
64+
[#12267](https://github.com/rust-lang/rust-clippy/pull/12267)
65+
* [`wildcard_imports`]: Add configuration [`allowed-wildcard-imports`] to allow preconfigured wildcards
66+
[#11979](https://github.com/rust-lang/rust-clippy/pull/11979)
67+
68+
### ICE Fixes
69+
70+
* [`ptr_as_ptr`]: No longer ICEs on types from other crates
71+
[#12617](https://github.com/rust-lang/rust-clippy/pull/12617)
72+
* [`cast_sign_loss`]: Avoids an infinit loop when casting two changed `.unwrap()` calls
73+
[#12508](https://github.com/rust-lang/rust-clippy/pull/12508)
1074

1175
## Rust 1.77
1276

13-
Current stable, released 2024-03-18
77+
Released 2024-03-18
1478

1579
[View all 93 merged pull requests](https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2023-12-16T18%3A20%3A00Z..2024-01-25T18%3A15%3A56Z+base%3Amaster)
1680

0 commit comments

Comments
 (0)