Invalid type annotations needed
suggestion that leads to E0632
#86162
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.
This code produces invalid suggestion:
Also this code:
None of them produce valid suggestion, as what it suggests will produce
error[E0632]: cannot provide explicit generic arguments when impl Trait is used in argument position
.Related to #83606.
@rustbot label: +A-diagnostics +D-invalid-suggestion +T-compiler
The text was updated successfully, but these errors were encountered: