Confusing diagnostic when use Self::Variant
inside an impl
#111627
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
I tried this (play):
Heres the current output:
The label that says "
Self
is only available in impls" is misleading since it is already in an impl.The text was updated successfully, but these errors were encountered: