-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix rust-analyzer non_camel_case_types warning #3388
Conversation
Visit the preview URL for this PR (updated for commit c814399): https://yew-rs-api--pr3388-master-xmwmoocc.web.app (expires Tue, 05 Sep 2023 19:03:25 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Benchmark - SSRYew Master
Pull Request
|
Size Comparison
✅ None of the examples has changed their size significantly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing this!
i'm not sure why but the issue has returned, doing some more research |
This looks correct now with |
LGTM |
Description
rust-analyzer currently complains with
rust-analyzer(non_camel_case_types)
warnings on all structs annotated with#[derive(Properites)]
. This appears to have regressed from #2007. This PR resolves the warnings by annotating the generated struct with#[allow(non_camel_case_types)]
.Checklist