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
Lint against lowercase static mut
Closes#37145.
Lint for non mut statics was added in #7523, and it explicitly did not cover mut statics. I am not sure why.
The following program does not report any naming convention warnings:
Looks like only
SCREAMING_SNAKE_CASE
should be allowed? If I removemut
s, I get the warnings. Or have we already deprecated static muts (pre rfc: https://internals.rust-lang.org/t/pre-rfc-remove-static-mut/1437/20) ?The text was updated successfully, but these errors were encountered: