-
Notifications
You must be signed in to change notification settings - Fork 13k
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
self
should be a keyword
#4176
Comments
I'm working on this issue. |
In my opinion, if |
The intent of this bug (which I concur with) is for In any case, it's fine by me -- fitting with the purpose of this bug -- if we lose arbitrary additional contexts for its use (function names, trait names, module names, etc.) |
I'm pretty sure this is done now. |
Is this done? I can't find the commit that fixes it. |
As far as I know, this is not done. If you want to do this issue, please comment here and do that. |
Not 0.6 |
Nominating for backwards compatible milestone. |
accepted for backwards-compatible milestone |
Fixed. |
…fractal-option, r=Manishearth Added a lint-fraction-readability flag to the configuration This adds an option to disable the `unreadable_literal` lint for floats with a longer fraction. This allows users to write `0.100200300` without getting a warning. Fixes rust-lang#4176 I have some open questions about this PR: 1. I've named the option `lint-fraction-readability` is this a good name or should I rename it to something else? 2. What should the default configuration value be? * The current default value is `true` as this was also the previous default. 3. Do I have to document this new option somewhere else or will it be extracted from the code comment? 4. The current fix option will also rewrite the fraction if the integer part violates the `unreadable_literal` lint it would otherwise also trigger the `inconsistent_digit_grouping` lint. Is this also okay? * `1.100200300` will be unaffected by the fix function * `100200300.100200300` will be effected and fixed to `100_200_300.100_200_300` --- The project needed some getting used to but I'm happy with the result. A big thank you to `@flip1995` for giving me some pointers for this implementation and to everyone for the great introduction documentation! --- changelog: Added the `unreadable-literal-lint-fractions` configuration to disable the `unreadable_literal` lint for fractions
Contextual right now; needs to be a real keyword.
The text was updated successfully, but these errors were encountered: