Incorrect suggestion to add bound for Add
trait
#93744
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
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:
@rustbot label D-invalid-suggestion A-suggestion-diagnostics
The text was updated successfully, but these errors were encountered: