-
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
Improve non ascii literal #4119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution! Especially for the extra work! ❤️
When you change something on the lint emitting code, you also have to update the *.stderr reference files. How to do this is documented here. (You basically have to run tests/ui/update-all-references.sh
after running cargo uitest
)
There are two more occurences of span_help_and_lint
in the code. It would be great if you could give those the same treatment.
The *.stderr file is missing the suggestions. I think this is another case of #3582 (comment) and #3913, so nothing you can do about. |
@bors r+ |
📌 Commit 36c8aab has been approved by |
Improve non ascii literal This PR improves the example of the [non_ascii_literal](https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal) lint. It also makes it auto-fixable. Please review. This is my first PR to this project. (Thanks @flip1995 for the help :) changelog: none fixes rust-lang#4117
This PR improves the example of the non_ascii_literal lint.
It also makes it auto-fixable.
Please review. This is my first PR to this project.
(Thanks @flip1995 for the help :)
changelog: none
fixes #4117