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

Don't call a closure a function in the infer_function_return_type assist label #6586

Merged
merged 1 commit into from Nov 27, 2020

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Nov 17, 2020

Add this function's return type becomes Add this closure's return type for closures. This makes it more obvious that we are indeed planning on modifying the closure and not its containing function.

@Veykril Veykril changed the title Don't call a closure a function inthe infer_function_return_type assist label Don't call a closure a function in the infer_function_return_type assist label Nov 18, 2020
@lnicola
Copy link
Member

lnicola commented Nov 27, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 27, 2020

@bors bors bot merged commit 572081f into rust-lang:master Nov 27, 2020
@Veykril Veykril deleted the inf-ret-ty branch November 27, 2020 18:16
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.

None yet

2 participants