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
When using wasm_bindgen, sometimes there are generated code that does not follow the naming convention, however, it is not necessary to check the naming conventions of generated code.
The text was updated successfully, but these errors were encountered:
irvingoujAtDevolution
changed the title
Rust Analyzer should be configured to disable rules on generated/expanded code
Rust Analyzer should be configured to disable specific rules on generated/expanded code
Nov 27, 2023
Hi there, I think my request is slightly different from what this person mentioned in his bug report. I think it should be, in general, give user the power to turn off certain checks in macro expanded code. As naming conventions in generated code seems a bit unnecessary.
Even if you could turn them off in RA, cargo check and cargo build would still warn, so you'd need an #[allow] somewhere. And if you have that and we respect it, there's no need for a separate setting.
When using wasm_bindgen, sometimes there are generated code that does not follow the naming convention, however, it is not necessary to check the naming conventions of generated code.

The text was updated successfully, but these errors were encountered: