mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-22 12:43:18 +00:00
Auto merge of #13525 - xFrednet:changelog-1-82, r=dswij
Changelog for Clippy 1.82 ✈️ ``` Roses are red, Violets are blue, EuroRust in Austria, RustConf in Canada. ``` --- ### The cat of this release is *Racka*: <img height=500 src="https://github.com/user-attachments/assets/e5e3cc95-6fc3-4214-aab0-4f26e0967ae5" alt="The cats of this Clippy release" /> Cats for the next release can be nominated in the comments :D --- changelog: none
This commit is contained in:
commit
dae1be90ee
2 changed files with 38 additions and 3 deletions
39
CHANGELOG.md
39
CHANGELOG.md
|
@ -6,11 +6,46 @@ document.
|
|||
|
||||
## Unreleased / Beta / In Rust Nightly
|
||||
|
||||
[b794b8e0...master](https://github.com/rust-lang/rust-clippy/compare/b794b8e0...master)
|
||||
[0f8eabd6...master](https://github.com/rust-lang/rust-clippy/compare/0f8eabd6...master)
|
||||
|
||||
## Rust 1.82
|
||||
|
||||
Current stable, released 2024-10-17
|
||||
|
||||
[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)
|
||||
|
||||
### New Lints
|
||||
|
||||
* Added [`too_long_first_doc_paragraph`] to `nursery`
|
||||
[#12993](https://github.com/rust-lang/rust-clippy/pull/12993)
|
||||
* Added [`unused_result_ok`] to `restriction`
|
||||
[#12150](https://github.com/rust-lang/rust-clippy/pull/12150)
|
||||
* Added [`pathbuf_init_then_push`] to `restriction`
|
||||
[#11700](https://github.com/rust-lang/rust-clippy/pull/11700)
|
||||
|
||||
### Enhancements
|
||||
|
||||
* [`explicit_iter_loop`]: Now respects the `msrv` configuration
|
||||
[#13288](https://github.com/rust-lang/rust-clippy/pull/13288)
|
||||
* [`assigning_clones`]: No longer lints in test code
|
||||
[#13273](https://github.com/rust-lang/rust-clippy/pull/13273)
|
||||
* [`inconsistent_struct_constructor`]: Lint attributes now work on the struct definition
|
||||
[#13211](https://github.com/rust-lang/rust-clippy/pull/13211)
|
||||
* [`set_contains_or_insert`]: Now also checks for `BTreeSet`
|
||||
[#13053](https://github.com/rust-lang/rust-clippy/pull/13053)
|
||||
* [`doc_markdown`]: Added the following identifiers to [`doc-valid-idents`]: AccessKit,
|
||||
CoreFoundation, CoreGraphics, CoreText, Direct2D, Direct3D, DirectWrite, PostScript,
|
||||
OpenAL, OpenType, WebRTC, WebSocket, WebTransport, NetBSD, and OpenBSD
|
||||
[#13093](https://github.com/rust-lang/rust-clippy/pull/13093)
|
||||
|
||||
### ICE Fixes
|
||||
|
||||
* [`uninit_vec`]
|
||||
[rust#128720](https://github.com/rust-lang/rust/pull/128720)
|
||||
|
||||
## Rust 1.81
|
||||
|
||||
Current stable, released 2024-09-05
|
||||
Released 2024-09-05
|
||||
|
||||
### New Lints
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ declare_clippy_lint! {
|
|||
/// // or
|
||||
/// let path_buf = PathBuf::new().join("foo");
|
||||
/// ```
|
||||
#[clippy::version = "1.81.0"]
|
||||
#[clippy::version = "1.82.0"]
|
||||
pub PATHBUF_INIT_THEN_PUSH,
|
||||
restriction,
|
||||
"`push` immediately after `PathBuf` creation"
|
||||
|
|
Loading…
Reference in a new issue