-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
false positives fixes of implicit_return
#4274
Conversation
- Handle returning macro statements properly - Handle functions that return never type - Handle functions that panic but do not return never type
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. Is there a specific issue for this or is this something you found and immediately fixed?
I'm just concerned about the return panic!()
, see below.
No issue as far as I've seen, just fixed it. |
Abstracted repeating strings into statics.
Thanks! @bors r+ |
📌 Commit 9e5e0f8 has been approved by |
false positives fixes of `implicit_return` - Handle returning macro statements properly (remove "this error originates in a macro outside of the current crate") - Handle functions that return never type - Handle functions that panic but do not return never type changelog: Fix false positives in `implicit_return` lint pertaining to macros, panics and never return type
💔 Test failed - status-appveyor |
@bors retry |
false positives fixes of `implicit_return` - Handle returning macro statements properly (remove "this error originates in a macro outside of the current crate") - Handle functions that return never type - Handle functions that panic but do not return never type changelog: Fix false positives in `implicit_return` lint pertaining to macros and panics
☀️ Test successful - checks-travis, status-appveyor |
changelog: Fix false positives in
implicit_return
lint pertaining to macros and panics