Skip to content
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

lintcheck: add --fix mode which tries to apply lint suggestions to th… #6848

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

matthiaskrgr
Copy link
Member

@matthiaskrgr matthiaskrgr commented Mar 5, 2021

…e sources and prints a warning if that fails

Great for spotting false positives/broken suggestions of applicable lints.

There are false positives though because I'm not sure yet how to silence rustc warnings while keeping clippy warnings.
Sometimes rustc makes a suggestion that fails to apply and the implementation does not differentiate between clippy and rustc warnings when applying lint suggestions.

changelog: none

@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 5, 2021
@bors
Copy link
Collaborator

bors commented Mar 5, 2021

☔ The latest upstream changes (presumably #6849) made this pull request unmergeable. Please resolve the merge conflicts.

…e sources and prints a warning if that fails

Great for spotting false positives/broken suggestions of applicable lints.

There are false positives though becasue I'm not sure yet how to silence rustc warnings while keeping clippy warnings.
Sometimes rustc makes a suggestion that fails to apply and the implementation does not differenciate between clippy and rustc warnings when applying lint suggestions.

changelog: none
@llogiq
Copy link
Contributor

llogiq commented Mar 5, 2021

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 5, 2021

📌 Commit 45424c7 has been approved by llogiq

@bors
Copy link
Collaborator

bors commented Mar 5, 2021

⌛ Testing commit 45424c7 with merge 0153679...

@bors
Copy link
Collaborator

bors commented Mar 5, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 0153679 to master...

@bors bors merged commit 0153679 into rust-lang:master Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants