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 you see, #[derive(Clone) correctly propagates the #[allow] attribute, educe did not.
Because of this, and the was the generated code looks (it does prepend an underscore to variables in some situations) I have no nice way to fix errors caused by disallowing clippy::used_underscore_binding. I have not so nice ones, like disabling that lint globally, or defining all this in a separate module where this lint is allowed, but these seem like hotfixes, not the proper solution, to me.
The text was updated successfully, but these errors were encountered:
I've code that looks something like this:
if I cargo-expand this, I get:
as you see,
#[derive(Clone)
correctly propagates the#[allow]
attribute, educe did not.Because of this, and the was the generated code looks (it does prepend an underscore to variables in some situations) I have no nice way to fix errors caused by disallowing
clippy::used_underscore_binding
. I have not so nice ones, like disabling that lint globally, or defining all this in a separate module where this lint is allowed, but these seem like hotfixes, not the proper solution, to me.The text was updated successfully, but these errors were encountered: