Skip to content

Commit

Permalink
Apply suggestions from code review <3
Browse files Browse the repository at this point in the history
Co-authored-by: Timo <30553356+y21@users.noreply.github.com>
  • Loading branch information
xFrednet and y21 committed May 2, 2024
1 parent 7ac1529 commit 6775e91
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ Current stable, released 2024-05-02

### Important Changes

* In a few versions, `cargo-clippy` will now no longer ignore the first argument.
* These changes will affect users of the `cargo-clippy` binary. Users of the
`cargo clippy` command will be unaffected by the change.

In a few versions, `cargo-clippy` will now no longer ignore the first argument.
Passing in `clippy` as the first argument like cargo does will continue to work.
However, arguments like `--fix` will soon issue a warning and will no longer be.
`cargo clippy` (without `-`!) is unaffected by this change.
There will be a transition period where unknown arguments will issue a warning
instead of a hard error.
[#9461](https://github.com/rust-lang/rust-clippy/pull/9461)

### New Lints
Expand Down Expand Up @@ -51,11 +54,6 @@ Current stable, released 2024-05-02
* [`incompatible_msrv`]
[#12160](https://github.com/rust-lang/rust-clippy/pull/12160)

### Moves and Deprecations

* Moved [`mixed_attributes_style`] to `style` (Remains warn-by-default)
[#12572](https://github.com/rust-lang/rust-clippy/pull/12572)

### Enhancements

* [`thread_local_initializer_can_be_made_const`]: Now checks the [`msrv`] configuration
Expand All @@ -67,9 +65,9 @@ Current stable, released 2024-05-02

### ICE Fixes

* [`ptr_as_ptr`]: No longer ICEs on types from other crates
* [`ptr_as_ptr`]: No longer ICEs when the cast source is a function call to a local variable
[#12617](https://github.com/rust-lang/rust-clippy/pull/12617)
* [`cast_sign_loss`]: Avoids an infinit loop when casting two changed `.unwrap()` calls
* [`cast_sign_loss`]: Avoids an infinite loop when casting two chained `.unwrap()` calls
[#12508](https://github.com/rust-lang/rust-clippy/pull/12508)

## Rust 1.77
Expand Down

0 comments on commit 6775e91

Please sign in to comment.