-
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
Additional restrictions #4657
Additional restrictions #4657
Conversation
Since you have |
yes! thanks I didn't knew that it makes total sense :D |
☔ The latest upstream changes (presumably #4619) made this pull request unmergeable. Please resolve the merge conflicts. |
6930427
to
53c8a08
Compare
The failures seem to relate to something outside of the PR, and I can't run tests locally any more either because of a dependency failing, is that a known issue? |
We likely need another rustup. Hang in there, we'll tell you when it's ready to rebase. |
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.
LGTM so far.
The tests need some work (mainly creating new files for the tests). Also some minor copy&paste fallouts.
Rustup is done and Clippy master builds again. |
8fd7932
to
76d0590
Compare
Split out the tests into two now sets |
Tests look really good now, thanks! If you want to, we can merge this PR already as it is right now and you can add the remaining 2 lints in another PR. Only thing left to do here, would be to squash some of the commits. |
Ja I wanted to ask about the squashing policy anyway :D will do and rebase so we can pull them in. |
2904e4b
to
6a48a71
Compare
Commits are squashed! |
☔ The latest upstream changes (presumably #4683) made this pull request unmergeable. Please resolve the merge conflicts. |
Co-Authored-By: Philipp Krones <hello@philkrones.com>
6a48a71
to
06a9eca
Compare
06a9eca
to
7f454d8
Compare
Thanks, I like PRs that add 5 new lints at once 🎉 @bors r+ |
📌 Commit 7f454d8 has been approved by |
Additional restrictions Add restriction lints for `panic!`, `unreachable!`, `todo!` and `.expect(...)` changelog: Add 5 new `restriction` lints: `panic`, `unreachable`, `todo`, `option_expect_used`, `result_expect_used`
☀️ Test successful - checks-travis, status-appveyor |
Add restriction lints for
panic!
,unreachable!
,todo!
and.expect(...)
changelog: Add 5 new
restriction
lints:panic
,unreachable
,todo
,option_expect_used
,result_expect_used