-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add print_in_format_impl lint
#8253
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
Conversation
1b1ab5d to
5e5380c
Compare
|
☔ The latest upstream changes (presumably #8210) made this pull request unmergeable. Please resolve the merge conflicts. |
5e5380c to
3785f69
Compare
|
☔ The latest upstream changes (presumably #8302) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@Alexendoo I am thinking we'll let #8188 be merged first, and then this lint may use the same LintPass struct. Also this lint should be named |
|
I just renamed the other one, so maybe |
|
Oh whoops I meant to say |
|
Sounds good to me, I'll rework this on top of the other when it's merged |
3785f69 to
496d9c6
Compare
|
Reworked it on top of #8188 |
496d9c6 to
7e796ef
Compare
|
Split the diagnostic item change out into #8474 |
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.
Just a nit on the docs. Otherwise looks great!
7e796ef to
52f3d61
Compare
|
Thanks! @bors r+ |
|
📌 Commit 52f3d61 has been approved by |
|
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: new lint: [
print_in_format_impl]Lints the use of
print-like macros in manualDisplay/Debugimpls. I feel like I make this mistake every time I write one 😄r? @camsteffen