Overflow evaluating the requirement when using GATs #112097
Labels
A-GATs
Area: Generic associated types (GATs)
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While #39959 and #111313 are discussing the same issue, in this case, it looks like there's a problem with GATs (generic associated types) or probably HRTBs (higher-rank trait bounds). Try removing the generic lifetime
'a
and the problem will be solved.Code
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: