NLL: Implied bounds computation misses some relationships #52078
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
NLL-complete
Working towards the "valid code works" goal
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Found while triaging the NLL-enabled crater run, and extracted from
specs-0.10
.Playground
Note: the added
'b
is to make the error message clearer, about a the missed relationship between'a
and'b
from the argument type (maybe because it is going through the associated type).Otherwise
fn get(value: &mut Self::Value)
yields this more obscurefree region "'a" does not outlive free region ""
.The text was updated successfully, but these errors were encountered: