-
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
Add suggestion to missing backticks error #7904
Conversation
r? @xFrednet (rust-highfive has picked a reviewer for you, use r? to override) |
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.
Thank you for the PR, the changes look good in general, just some minor NITs. 🙃
fcef581
to
34b2477
Compare
01ac004
to
f37dc25
Compare
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.
Alright, I found two more smaller things where it would be great if you could address them. Then I would merge it. Thank you for the quick changes 🙃
@@ -0,0 +1,9 @@ | |||
/// Ok: <http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels> |
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.
Is there a reason why you extracted these two tests?
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.
Those two tests fail with rustfix because they have a suggestion that isn't machine applicable, and it's compiled with -Dwarnings
.
rust-clippy/tests/compile-test.rs
Lines 131 to 132 in c68af43
config.target_rustcflags = Some(format!( | |
"--emit=metadata -Dwarnings -Zui-testing -L dependency={}{}{}", |
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.
That explains why some lint test files are split up into a fixable and not fixable test file. Today I learned. Would you mind renaming the doc.rs
file to doc-fixable.rs
? You can also do that in an additional commit ^^ then everything is really ready 🙃
☔ The latest upstream changes (presumably #7916) made this pull request unmergeable. Please resolve the merge conflicts. |
f37dc25
to
0db8c52
Compare
Fantastic! Thank you very much for addressing my sometimes nit picky comments. I appreciate it! 🙃 This looks excellent to me now 👍 @bors r+ |
📌 Commit 3732d11 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: Add a machine applicable suggestion for the [
doc_markdown
] missing backticks lintcloses: #7737