E0308 expected and found are identical #97010
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: play
The current output is:
It's irritating that expected and found are the same. Also "one type is more general than the other" could give an explanation why one is more general (like, what parameter). And, I don't know how
FnOnce::Output
is relevant.One more thing: When you delete the return type from the signature of clone, it says
expected unit type `()` found opaque type `impl Fn(&Fix<FC>)-> Fix<FC>`
, which when implemented, doesn't work.The text was updated successfully, but these errors were encountered: