Skip to content

Commit 75a529c

Browse files
committed
feat(linter): add run info about what functions rules implement (#13839)
Adds linter codegen to specify run information about what functions a given rule implements. Looks for the `impl` block for the given rule and looks at all of the rules and checks what functions are implemented. multiple `impl` blocks cannot be specified for the same struct, so we are guaranteed to be able to know this just from the one block. On its own, this information doesn't do much for us, but it will allow us to improve the linter runtime performance by optimizing how rules are run based on which functions are implemented and which are no-ops.
1 parent f977700 commit 75a529c

File tree

5 files changed

+693
-6
lines changed

5 files changed

+693
-6
lines changed

0 commit comments

Comments
 (0)