-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
change literal_string_with_formatting_args
lint category to nursery
#14014
change literal_string_with_formatting_args
lint category to nursery
#14014
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Alexendoo (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Note that most of those false positives should be fixed by #13953. |
Let's check what false positives remain once #13953 is merged indeed. The remaining ones might still be bugs. |
I'm of the same opinion that we should probably change this lint's category for the time being even if the PR fixes some of them. It's already in beta and some of the bugs don't seem to have an obvious fix and probably require some "design work" (e.g. the ones involving There's nothing wrong with having it in nursery temporarily, but having it warn-by-default while it's buggy means lots of people will allow the lint and will later not catch potential errors. |
I agree, let's put it in nursery until we're confident the true positives significantly outweigh the false ones |
Didn't think about moving it to nursery. Good idea. |
literal_string_with_formatting_args
lint category to pedanticliteral_string_with_formatting_args
lint category to nursery
I thought pedantic lints have many false positives, but I checked existing lints now and I saw those are much less possibility for false positives than this so I agree with change to nursery. I made this PR to change to nursery. |
This PR changes literal_string_with_formatting_args category from
suspicious
tonursery
since there are thousands of false positive on GitHub.Closes #13989 since it's no longer problematic with such false positive with
pedantic
nursery
category.changelog: [
literal_string_with_formatting_args
] change category tonursery
fromsuspicious