The compiler could have been more precise about missing type annotation. #36495
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Here is the code:
Compiler says:
The actual error is in this line:
which should have specified the type of
v
.The compiler could have been more precise about the error.
The text was updated successfully, but these errors were encountered: