Mysterious "higher-ranked lifetime error" with async fn in trait and return-type notation #110963
Labels
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
A-NLL
Area: Non-lexical lifetimes (NLL)
C-bug
Category: This is a bug.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
F-async_fn_in_trait
Static async fn in traits
F-return_type_notation
`#[feature(return_type_notation)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: it works
Instead, this happened:
The text was updated successfully, but these errors were encountered: