Skip to content

Do not propose suggestions for idents without case #21749

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

Closed
wants to merge 1 commit into from

Conversation

nagisa
Copy link
Member

@nagisa nagisa commented Jan 29, 2015

A possible fixes for #21735

Be sure to read the issue and comments before r+.

@rust-highfive
Copy link
Contributor

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@ftxqxd
Copy link
Contributor

ftxqxd commented Jan 30, 2015

I personally don’t think that basically disallowing any identifier that has no lowercase equivalent is a good idea. I’ve opened PR #21765 as an alternative to this one that changes is_snake_case to just make sure that all characters are not upper case.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 30, 2015
An alternative to rust-lang#21749.

This also refactors the naming lint code a little bit and slightly rephrases some warnings (`uppercase` → `upper case`).

Closes rust-lang#21735.
@nagisa
Copy link
Member Author

nagisa commented Jan 31, 2015

Closing since the alternative was merged in.

@nagisa nagisa closed this Jan 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants