E0603 "note: the trait … is defined here" not showing any detail #100704
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.
Given the following code:
The current output is:
The
note
is useless and confusing since it doesn't say what “here” is. Better output would be any of:std::marker::Unpin
in this case) would be most helpful to anyone using an unfamiliar type (this could occur in third-party libraries as well asstd
).Occurs on stable 1.63 and current nightly, in the Rust Playground.
Previous similar issue: #89159
The text was updated successfully, but these errors were encountered: