Commit Graph

11 Commits

Author SHA1 Message Date
Samuel Tardieu e3ec0d2de6 Check MSRV for any entity, not just function and method calls
New Rust releases also stabilize enum variants, constants, and so on.
Lint them as well.
2025-05-21 17:17:30 +02:00
Guillaume Gomez f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
Catherine 0c392d918a new lint legacy_numeric_constants 2024-03-21 17:10:02 -06:00
Oli Scherer 3d88fae050 Update ui test crate 2023-08-11 14:02:28 +00:00
Oli Scherer def1705a27 Update to a compiletest-rs version that requires //@ for commands 2023-04-20 14:44:03 +00:00
Alex Macleod 461e219d1d Allow using clippy::msrv as an outer attribute 2022-11-27 12:43:17 +00:00
Alex Macleod 815876d93f Move MSRV tests into the lint specific test files 2022-10-21 21:35:39 +00:00
kyoto7250 6fd2c6de90 fix(lint): check const context
https://github.com/rust-lang/rust-clippy/issues/8898
2022-05-28 14:45:25 +09:00
Koichi ITO ae0216d557 Use the traits added to the Rust 2021 Edition prelude
Follow up https://github.com/rust-lang/rust/pull/96861.

This PR uses the traits added to the Rust 2021 Edition prelude.

> The `TryInto`, `TryFrom` and `FromIterator` traits are now part of the prelude.

https://doc.rust-lang.org/edition-guide/rust-2021/prelude.html
2022-05-12 00:38:11 +09:00
Lzu Tao b39fd5f62f Fix false negative of checked_conversion lint 2020-06-03 09:04:24 +07:00
pJunger 00a5ef64a2 Added suggestion for conversion with is_ok. 2019-05-18 09:33:26 +02:00