For function returning simple closure, suggest possible way to specify the return type #100936
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Given the following code: link
The current output is:
Ideally the output should suggest how to specify the return type when a function returns a closure.
The text was updated successfully, but these errors were encountered: