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
The new clippy::use_self warning (in clippy::nursery) is triggered when using derive macros such as AsRefStr and/or EnumString. It seems clippy is/will become more pedantic when it comes to using Self instead of the struct name, even inside procedural macros. Right now I just disabled the warning, but I'd like to be able to turn it on in general for my own code.
The text was updated successfully, but these errors were encountered:
iirc, we can't use Self in a number of places because earlier versions of rust didn't support Self in a number of positions historically. If you send a PR adding #[allow(..)] for the new lints, I'll get it merged and push a patch version
The new
clippy::use_self
warning (inclippy::nursery
) is triggered when usingderive
macros such asAsRefStr
and/orEnumString
. It seems clippy is/will become more pedantic when it comes to usingSelf
instead of the struct name, even inside procedural macros. Right now I just disabled the warning, but I'd like to be able to turn it on in general for my own code.The text was updated successfully, but these errors were encountered: