-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
E-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.G-performance-projectGoal: For issues and PRs related to the Clippy Performance ProjectGoal: For issues and PRs related to the Clippy Performance Project
Description
Currently, when knowing if the MSRV is high enough to run a lint, we're doing lots of repeated work.
We visit the same attributes a lot of times with the extract_msrv_attr!
(specifically, the number of lints that use MSRVs, so a good number of dozens).
A possible solution to this would be precomputing the MSRV by DefId
, as there can be more than a single clippy::msrv
attribute on a single module.
Additional resources:
Metadata
Metadata
Assignees
Labels
E-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.G-performance-projectGoal: For issues and PRs related to the Clippy Performance ProjectGoal: For issues and PRs related to the Clippy Performance Project