Missing parentheses for range leads to misleading help suggestion #102396
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
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: link
The current output is:
Ideally the output should something like this:
@rustbot label +D-confusing +D-invalid-suggestion
The text was updated successfully, but these errors were encountered: