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
_ => Error::new_spanned(pat,"patterns are not supported in arguments")
Giving the variable a name is possible, of course, but leads to the slight inconvenience of requiring allow(clippy::no_effect_underscore_binding) and allow(clippy::used_underscore_binding).
The text was updated successfully, but these errors were encountered:
This issue relevant after #20 merges, but is not a result of the PR.
Assuming #20, the following fails to compile:
The reason is the unsupported pattern
_
, tracing back to this error:impl-trait-utils/trait-variant/src/variant.rs
Line 199 in 6a5e7ab
Giving the variable a name is possible, of course, but leads to the slight inconvenience of requiring
allow(clippy::no_effect_underscore_binding)
andallow(clippy::used_underscore_binding)
.The text was updated successfully, but these errors were encountered: