Compiler suggestion ping-pongs between E0283 and E0562 #113264
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.
I tried to call the gtk-rs insert_before function, with this signature:
I got this error:
Along with this suggestion:
That suggestion ran me into a different error:
I would expect the first error to understand that using
impl Trait
within the path would lead me into E0562 and thus not make that suggestion.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: