-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
rust-analyzer: "Function __wasm_bindgen_generated... should have snake_case name" #4080
Comments
Probably not, otherwise a different I was unable to reproduce this issue, so it would probably be best if you could make a small but complete reproducible example. |
I am having the issue with Tsify triggers the warning from this generated code: I think this commit ddceac7 is the fix for this. |
Thank you for looking into this! If this is ultimately not fixed by #4078, I'm happy to take a look again with a reproducible example. |
Describe the Bug
rust-analyzer complains about generated fn names.
Steps to Reproduce
Expands to
Expected Behavior
No rust-analyzer warning
Actual Behavior
rust-analyzer warnings are emitted, such as
Function
__wasm_bindgen_generated_Session_desktop_size
should have snake_case name, e.g.__wasm_bindgen_generated_session_desktop_size
Additional Context
Given that the fn have an export name, couldn't the fn symbol name be simply lowercased?
The text was updated successfully, but these errors were encountered: