Copy
supertrait not holding error has empty note
#108174
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.
Code
Current output
Desired output
Rationale and extra context
An empty not is rather confusing and really has no reason to exist and just takes up space, it should actually point to the supertrait like every other error imo (or at the very least have the note removed..) It also seems a bit weird to me that the compiler suggests adding
#[derive(Clone)]
but doesnt make it an actual suggestion with the nice green++++
Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: