Skip to content

Remove incompatible_msrv from 1.77 release. #1278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions posts/2024-03-21-Rust-1.77.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,6 @@ Users which do want debuginfo can explicitly enable it with the
[debug](https://doc.rust-lang.org/stable/cargo/reference/profiles.html#debug)
flag in the relevant Cargo profile.

### Clippy adds a new `incompatible_msrv` lint

The Rust project only supports the latest stable release of Rust. Some
libraries aim to have an older minimum supported Rust version (MSRV), typically
verifying this support by compiling in CI with an older release. However, when
developing new code, it's convenient to use latest documentation and the latest
toolchain with fixed bugs, performance improvements, and other improvements.
This can make it easy to accidentally start using an API that's only available
on newer versions of Rust.

Clippy has added a new lint, [`incompatible_msrv`](https://rust-lang.github.io/rust-clippy/master/index.html#/incompatible_msrv),
which will inform users if functionality being referenced is only available on
newer versions than their
[declared MSRV](https://github.com/rust-lang/rust-clippy/?tab=readme-ov-file#specifying-the-minimum-supported-rust-version).

### Stabilized APIs

- [`array::each_ref`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_ref)
Expand Down