-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Variable name with internal double-underscore gets snake case warning, but leading/trailing does not #19475
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
Comments
Are you proposing that we remove the warning for |
I'm not proposing either, just wanting us to be consistent either way. (I personally would prefer making all legal.) |
1.1.0 Update: The warning is still given for Playpen: http://is.gd/mmKJtz |
Triage: no change.
😉 |
I think the leading |
Triage: no change |
The test case for this lint has two "don't allow two underscores" cases (https://github.com/rust-lang/rust/blob/master/src/test/ui/lint/lint-non-snake-case-functions.rs). I'm going to say that's probably enough that we don't want to just change behavior here -- in particular, it seems no one really wants this. (If they do, I would encourage them to file a PR or chime in here). |
Fix debug sourceFileMap when using cppvsdbg
It seems slightly weird that we are inconsistent.
The text was updated successfully, but these errors were encountered: