You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: