Skip to content

Commit

Permalink
Merge #672
Browse files Browse the repository at this point in the history
672: move the msrv configuration from 'clippy.toml' to 'Cargo.toml' r=jswrenn a=danieleades

what it says on the tin.

The MSRV can now be set in Cargo.toml rather than clippy.toml. Clippy parses the field from Cargo.toml.

This has the added advantage that if you try to compile this crate with a toolchain older than the MSRV you'll get a nicer error message. Or you *would* if the MSRV wasn't so old that it doesn't make use of the `rust-version` key...

still, it's the thought the counts. This change is future-proof, and is also backwards compatible, since unrecognised keys cause warnings, but not errors.

Co-authored-by: Daniel Eades <danieleades@hotmail.com>
  • Loading branch information
bors[bot] and danieleades committed Feb 20, 2023
2 parents a1cbfba + 6452c66 commit 5c21a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ exclude = ["/bors.toml"]

edition = "2018"

rust-version = "1.36.0"

[package.metadata.release]
no-dev-version = true

Expand Down
1 change: 0 additions & 1 deletion clippy.toml

This file was deleted.

0 comments on commit 5c21a87

Please sign in to comment.