Trait bound not satisfied should specify "fn item" vs "fn ptr" kind #99875
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.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: [playground]
The current output is:
Compare E0308 mismatched types: [playground]
Ideally the output (of the reported example) should look like:
The text was updated successfully, but these errors were encountered: