Associated type not resolved based on lifetimes #87208
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=d9dd02dbc642c719d6a984f0e4dd91fb
I expected to see this happen: compile without errors.
Instead, this happened:
related: https://users.rust-lang.org/t/compile-failing-even-though-it-seems-like-it-should-work/62409?u=programmerjake
The text was updated successfully, but these errors were encountered: