Skip to content

Commit 15a6485

Browse files
committedMay 2, 2024
Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update
2 parents f5efc3c + 20b085d commit 15a6485

File tree

124 files changed

+1664
-755
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+1664
-755
lines changed
 

‎src/tools/clippy/CHANGELOG.md

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,62 @@ 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+
### New Lints
18+
19+
* [`assigning_clones`]
20+
[#12077](https://github.com/rust-lang/rust-clippy/pull/12077)
21+
* [`mixed_attributes_style`]
22+
[#12354](https://github.com/rust-lang/rust-clippy/pull/12354)
23+
* [`empty_docs`]
24+
[#12342](https://github.com/rust-lang/rust-clippy/pull/12342)
25+
* [`unnecessary_get_then_check`]
26+
[#12339](https://github.com/rust-lang/rust-clippy/pull/12339)
27+
* [`multiple_bound_locations`]
28+
[#12259](https://github.com/rust-lang/rust-clippy/pull/12259)
29+
* [`unnecessary_clippy_cfg`]
30+
[#12303](https://github.com/rust-lang/rust-clippy/pull/12303)
31+
* [`deprecated_clippy_cfg_attr`]
32+
[#12292](https://github.com/rust-lang/rust-clippy/pull/12292)
33+
* [`manual_c_str_literals`]
34+
[#11919](https://github.com/rust-lang/rust-clippy/pull/11919)
35+
* [`ref_as_ptr`]
36+
[#12087](https://github.com/rust-lang/rust-clippy/pull/12087)
37+
* [`lint_groups_priority`]
38+
[#11832](https://github.com/rust-lang/rust-clippy/pull/11832)
39+
* [`unnecessary_result_map_or_else`]
40+
[#12169](https://github.com/rust-lang/rust-clippy/pull/12169)
41+
* [`to_string_trait_impl`]
42+
[#12122](https://github.com/rust-lang/rust-clippy/pull/12122)
43+
* [`incompatible_msrv`]
44+
[#12160](https://github.com/rust-lang/rust-clippy/pull/12160)
45+
46+
### Enhancements
47+
48+
* [`thread_local_initializer_can_be_made_const`]: Now checks the [`msrv`] configuration
49+
[#12405](https://github.com/rust-lang/rust-clippy/pull/12405)
50+
* [`disallowed_macros`]: Code generated by derive macros can no longer allow this lint
51+
[#12267](https://github.com/rust-lang/rust-clippy/pull/12267)
52+
* [`wildcard_imports`]: Add configuration [`allowed-wildcard-imports`] to allow preconfigured wildcards
53+
[#11979](https://github.com/rust-lang/rust-clippy/pull/11979)
54+
55+
### ICE Fixes
56+
57+
* [`ptr_as_ptr`]: No longer ICEs when the cast source is a function call to a local variable
58+
[#12617](https://github.com/rust-lang/rust-clippy/pull/12617)
59+
* [`cast_sign_loss`]: Avoids an infinite loop when casting two chained `.unwrap()` calls
60+
[#12508](https://github.com/rust-lang/rust-clippy/pull/12508)
1061

1162
## Rust 1.77
1263

13-
Current stable, released 2024-03-18
64+
Released 2024-03-18
1465

1566
[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)
1667

@@ -5891,6 +5942,7 @@ Released 2018-09-13
58915942
[`allow-print-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-print-in-tests
58925943
[`allow-private-module-inception`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-private-module-inception
58935944
[`allow-unwrap-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-unwrap-in-tests
5945+
[`allow-useless-vec-in-tests`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allow-useless-vec-in-tests
58945946
[`allowed-dotfiles`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-dotfiles
58955947
[`allowed-duplicate-crates`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-duplicate-crates
58965948
[`allowed-idents-below-min-chars`]: https://doc.rust-lang.org/clippy/lint_configuration.html#allowed-idents-below-min-chars

‎src/tools/clippy/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.1.79"
3+
version = "0.1.80"
44
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
55
repository = "https://github.com/rust-lang/rust-clippy"
66
readme = "README.md"
@@ -30,7 +30,7 @@ color-print = "0.3.4"
3030
anstream = "0.6.0"
3131

3232
[dev-dependencies]
33-
ui_test = "0.22.2"
33+
ui_test = "0.23"
3434
regex = "1.5.5"
3535
toml = "0.7.3"
3636
walkdir = "2.3"

0 commit comments

Comments
 (0)
Please sign in to comment.