Error when inferring a lifetime in return type using GATs #81487
Labels
A-GATs
Area: Generic associated types (GATs)
C-bug
Category: This is a bug.
F-generic_associated_types
`#![feature(generic_associated_types)]` a.k.a. GATs
requires-nightly
This issue requires a nightly compiler in some way.
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: the code compiles
Instead, this happened: the code does not compile unless you replace:
with
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: