-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deriving TryFromBytes
warns about non_camel_case_types
#2051
Comments
joshlf
added a commit
that referenced
this issue
Nov 13, 2024
...in derive-generated code. Closes #2051 gherrit-pr-id: If3dbedcccd338435b5aa72dd724caaf9447b1baa
Thanks for reporting this! I've opened a fix in #2057. |
joshlf
added a commit
that referenced
this issue
Nov 13, 2024
...in derive-generated code. Closes #2051 gherrit-pr-id: If3dbedcccd338435b5aa72dd724caaf9447b1baa
github-merge-queue bot
pushed a commit
that referenced
this issue
Nov 13, 2024
...in derive-generated code. Closes #2051 gherrit-pr-id: If3dbedcccd338435b5aa72dd724caaf9447b1baa
google-pr-creation-bot
pushed a commit
to google-pr-creation-bot/zerocopy
that referenced
this issue
Nov 14, 2024
...in derive-generated code. Closes google#2051 gherrit-pr-id: If3dbedcccd338435b5aa72dd724caaf9447b1baa
Closed in #2057 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you derive
TryFromBytes
on an enum like this:You get warnings about
non_camel_case_types
from the expanded code:Adding
#[allow(non_camel_case_types)]
to the___ZerocopyTag
will fix this.The text was updated successfully, but these errors were encountered: