Compiler suggests [type error]
when encountering placeholder in fn return type
#91371
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code:
The current output is:
Ideally the output should look like:
this issue might be related/helpful.
The text was updated successfully, but these errors were encountered: