Wrong message from object safety checker #40670
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
UPDATE: There are mentoring instructions to be found in a comment below.
Object safety checker produces messages with "supertrait something" even when the cause is in where-clause.
Rust Playground: https://is.gd/mAvVNW
Indeed this seems object-unsafe, but the message should be something about "where-clause", not "supertrait listing".
The text was updated successfully, but these errors were encountered: