Skip to content

Merge type_span and type_def, and ditto with value_span and value_def #6501

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

Closed
wants to merge 1 commit into from
Closed

Conversation

june0cho
Copy link
Contributor

Fix #3783.

bors added a commit that referenced this pull request May 16, 2013
@bors bors closed this May 16, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 30, 2021
…nsch

Fix FP with empty return for `needless_return` lint

This fixes a false positive in `needless_return` lint, when triggered in a closure using `return` statement without value.

Fixes: rust-lang#6501

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants