region-outlives obligations lead to uninformative/undecipherable region inference failures #23581
Labels
A-borrow-checker
Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider this program:
This yields the following error (playpen):
There is no mention of the region constraint on the impl providing
foo
that is causing callingfoo
frombar
to fail.cc @nikomatsakis
The text was updated successfully, but these errors were encountered: