@@ -6,11 +6,73 @@ document.
6
6
7
7
## Unreleased / Beta / In Rust Nightly
8
8
9
- [ 93f0a9a9...master] ( https://github.com/rust-lang/rust-clippy/compare/93f0a9a9...master )
9
+ [ ca3b3937...master] ( https://github.com/rust-lang/rust-clippy/compare/ca3b3937...master )
10
+
11
+ ## Rust 1.79
12
+
13
+ Current stable, released 2024-06-13
14
+
15
+ [ View all 102 merged pull requests] ( https://github.com/rust-lang/rust-clippy/pulls?q=merged%3A2024-03-08T11%3A13%3A58Z..2024-04-18T15%3A50%3A50Z+base%3Amaster )
16
+
17
+ ### New Lints
18
+
19
+ * Added [ ` legacy_numeric_constants ` ] to
20
+ [ #12312 ] ( https://github.com/rust-lang/rust-clippy/pull/12312 )
21
+ * Added [ ` missing_transmute_annotations ` ] to
22
+ [ #12239 ] ( https://github.com/rust-lang/rust-clippy/pull/12239 )
23
+ * Added [ ` integer_division_remainder_used ` ] to ` restriction `
24
+ [ #12451 ] ( https://github.com/rust-lang/rust-clippy/pull/12451 )
25
+ * Added [ ` duplicated_attributes ` ] to ` suspicious `
26
+ [ #12378 ] ( https://github.com/rust-lang/rust-clippy/pull/12378 )
27
+ * Added [ ` manual_unwrap_or_default ` ] to ` suspicious `
28
+ [ #12440 ] ( https://github.com/rust-lang/rust-clippy/pull/12440 )
29
+ * Added [ ` zero_repeat_side_effects ` ] to ` suspicious `
30
+ [ #12449 ] ( https://github.com/rust-lang/rust-clippy/pull/12449 )
31
+ * Added [ ` const_is_empty ` ] to ` suspicious `
32
+ [ #12310 ] ( https://github.com/rust-lang/rust-clippy/pull/12310 )
33
+
34
+ ### Moves and Deprecations
35
+
36
+ * Moved [ ` box_default ` ] to ` style ` (From ` perf ` )
37
+ [ #12601 ] ( https://github.com/rust-lang/rust-clippy/pull/12601 )
38
+ * Moved [ ` manual_clamp ` ] to ` complexity ` (From ` nursery ` now warn-by-default)
39
+ [ #12543 ] ( https://github.com/rust-lang/rust-clippy/pull/12543 )
40
+ * Moved [ ` mixed_attributes_style ` ] to ` style ` (From ` suspicious ` )
41
+ [ #12572 ] ( https://github.com/rust-lang/rust-clippy/pull/12572 )
42
+ * Moved [ ` readonly_write_lock ` ] to ` perf ` (From ` nursery ` now warn-by-default)
43
+ [ #12479 ] ( https://github.com/rust-lang/rust-clippy/pull/12479 )
44
+
45
+ ### Enhancements
46
+
47
+ * [ ` module_name_repetition ` ] : Added the [ ` allowed-prefixes ` ] configuration to allow common prefixes.
48
+ [ #12573 ] ( https://github.com/rust-lang/rust-clippy/pull/12573 )
49
+ * [ ` cast_sign_loss ` ] , [ ` cast_possible_truncation ` ] , [ ` cast_lossless ` ] : Are now allowed in macros
50
+ [ #12631 ] ( https://github.com/rust-lang/rust-clippy/pull/12631 )
51
+ * [ ` manual_clamp ` ] : Now only lints on constant min and max values
52
+ [ #12543 ] ( https://github.com/rust-lang/rust-clippy/pull/12543 )
53
+ * [ ` assigning_clones ` ] : Now considers the [ ` msrv ` ] configuration
54
+ [ #12511 ] ( https://github.com/rust-lang/rust-clippy/pull/12511 )
55
+ * [ ` needless_return ` ] , [ ` useless_let_if_seq ` ] , [ ` mut_mut ` ] : [ ` read_zero_byte_vec ` ] , [ ` unused_io_amount ` ] ,
56
+ [ ` unused_peekable ` ] : Now respects ` #[allow] ` attributes on the affected statement instead
57
+ [ #12446 ] ( https://github.com/rust-lang/rust-clippy/pull/12446 )
58
+
59
+ ### False Positive Fixes
60
+
61
+ * [ ` cast_lossless ` ] : No longer lints when casting to ` u128 `
62
+ [ #12496 ] ( https://github.com/rust-lang/rust-clippy/pull/12496 )
63
+ * [ ` std_instead_of_core ` ] No longer lints on modules that are only in ` std `
64
+ [ #12447 ] ( https://github.com/rust-lang/rust-clippy/pull/12447 )
65
+
66
+ ### ICE Fixes
67
+
68
+ * [ ` ptr_as_ptr ` ] : No longer crashes when the result of a function is casted
69
+ [ #12617 ] ( https://github.com/rust-lang/rust-clippy/pull/12617 )
70
+ * [ ` needless_return ` ] : No longer crashes on non-ascii characters
71
+ [ #12493 ] ( https://github.com/rust-lang/rust-clippy/pull/12493 )
10
72
11
73
## Rust 1.78
12
74
13
- Current stable, released 2024-05-02
75
+ Released 2024-05-02
14
76
15
77
[ 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
78
0 commit comments