Confusing recursion overflow error instead of mismatched type #77291
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
Instead, this happened:
Either
or a longer version
Meta
rustc --version --verbose
:cc @sdroege
The text was updated successfully, but these errors were encountered: