Open
Description
Code
async fn recurse<T>() {
recurse::<Option<T>>().await;
}
Current output
error: queries overflow the depth limit!
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`playground`)
= note: query depth increased by 130 when computing layout of `{async fn body of recurse<T>()}`
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
Reproducible on the playground with version: 1.88.0-nightly (2025-05-06 27d6200a70601f6fcf41)
Anything else?
Discovered while experimenting with #140725