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

Fix missing_panics_doc warning on unreachable!. #6700

Merged
merged 2 commits into from
Feb 12, 2021
Merged

Fix missing_panics_doc warning on unreachable!. #6700

merged 2 commits into from
Feb 12, 2021

Conversation

daxpedda
Copy link
Contributor

@daxpedda daxpedda commented Feb 8, 2021

Fixes #6699.

Are there any other test-cases I should cover?

changelog: missing_panics_doc: No longer lints on unreachable!

@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 Feb 8, 2021
@llogiq
Copy link
Contributor

llogiq commented Feb 10, 2021

I'd like to see a test that shows we still lint on a function that contains both unreachable!(..) and another panicky call, e.g. panic!(..).

@daxpedda
Copy link
Contributor Author

Done.

@llogiq
Copy link
Contributor

llogiq commented Feb 12, 2021

Thank you! @bors r+

@bors
Copy link
Contributor

bors commented Feb 12, 2021

📌 Commit 37f9782 has been approved by llogiq

@bors
Copy link
Contributor

bors commented Feb 12, 2021

⌛ Testing commit 37f9782 with merge 047f3e1...

@bors
Copy link
Contributor

bors commented Feb 12, 2021

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

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.

missing_panics_doc shouldn't warn on unreachable!
4 participants