-
Notifications
You must be signed in to change notification settings - Fork 933
Open
Labels
A2consensusAn issue/PR that touches consensus code, such as state_processing or block verification.An issue/PR that touches consensus code, such as state_processing or block verification.
Description
Description
As discussed here #2350 (comment), the disallowed-methods Clippy lint doesn't seem to work for associated functions on primitive types. This lint was originally created by a Lighthouse contributor for #1621, and has been improved by other Clippy contributors since!
To resolve this issue we should put some print statements in Clippy to work out what AST it sees for functions like u64::pow, and then work out how to incorporate detection of those AST nodes.
Version
Rust 1.52.1 (stable)
paulhauner
Metadata
Metadata
Assignees
Labels
A2consensusAn issue/PR that touches consensus code, such as state_processing or block verification.An issue/PR that touches consensus code, such as state_processing or block verification.