Skip to content

Do not propose suggestions for idents without case#21749

Closed
nagisa wants to merge 1 commit into
rust-lang:masterfrom
nagisa:sna©ked-lint

Hidden character warning

The head ref may contain hidden characters: "sna\u00a9ked-lint"
Closed

Do not propose suggestions for idents without case#21749
nagisa wants to merge 1 commit into
rust-lang:masterfrom
nagisa:sna©ked-lint

Conversation

@nagisa

@nagisa nagisa commented Jan 29, 2015

Copy link
Copy Markdown
Member

A possible fixes for #21735

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

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @brson

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

@ftxqxd

ftxqxd commented Jan 30, 2015

Copy link
Copy Markdown
Contributor

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

nagisa commented Jan 31, 2015

Copy link
Copy Markdown
Member Author

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