Polymorphic recursion in async fn gives "queries overflow the depth limit" error #140728
Labels
A-async-await
Area: Async & Await
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
I-cycle
Issue: A query cycle occurred while none was expected
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Something that doesn't mention queries, and more prominently point me towards the recurse() function being the problem.
Rationale and extra context
No response
Other cases
Rust Version
Anything else?
Discovered while experimenting with #140725
The text was updated successfully, but these errors were encountered: