Self
with type aliases could emit a better error
#93796
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
results in
it may makes sense to add a "forbidden" rib to type aliases which contains
Self
and emits a better error for this or at least adds a note like "Self
cannot be used to refer to type aliases"The text was updated successfully, but these errors were encountered: