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
results in error: diagnostic(transparent) not allowed in combination with other args
I believe that I understand how this error is coming to pass, but in my case of having my library split among multiple crates, and my error enums being quite long it seems like too much to replicate the enum-level attributes for all other variants.
In this case, I think it would be reasonable to ignore the enum-level attributes for any variant that uses transparent, or maybe there's some alternate syntax or feature that I am missing for this case?
The text was updated successfully, but these errors were encountered:
It seems like you cannot mix
transparent
with any enum-level attributes, eg:results in
error: diagnostic(transparent) not allowed in combination with other args
I believe that I understand how this error is coming to pass, but in my case of having my library split among multiple crates, and my error enums being quite long it seems like too much to replicate the enum-level attributes for all other variants.
In this case, I think it would be reasonable to ignore the enum-level attributes for any variant that uses
transparent
, or maybe there's some alternate syntax or feature that I am missing for this case?The text was updated successfully, but these errors were encountered: