Rust complains about mismatched types, but the types are identical #89923
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When I compile the following code:
I get the error message:
I'm sure the 'expected' and 'found' types are indeed different somehow, but there's nothing in the output that would allow us to distinguish them.
EDIT: Output from
rustc -vV
:The text was updated successfully, but these errors were encountered: