diagnostics: suggest "Self::" on missing type not found in trait definition #62650
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
yields
it would be helpful to suggest to change the
to_bla
return type toSelf::Bla;
which fixes the error:The text was updated successfully, but these errors were encountered: