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 code you wrote works, and is different from the code in the error message you pasted. I think this is most likely a case of you confusing yourself with 2 different copies of your own code, but if not, please take your questions to any of the resources shown in https://www.rust-lang.org/community and someone should be able to help you figure things out.
for example I want to make the visibility of each field public but the creation of
syn::Visibility::Public(_)
is not allowedinstead you need to do it like this:
The text was updated successfully, but these errors were encountered: