Open OliverKillane opened 1 week ago
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @pnkfelix (or someone else) some time within the next two weeks.
Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review
and S-waiting-on-author
) stays updated, invoking these commands when appropriate:
@rustbot author
: the review is finished, PR author should check the comments and take action accordingly@rustbot review
: the author is ready for a review, this PR will be queued again in the reviewer's queueThe job mingw-check-tidy
failed! Check out the build log: (web) (plain)
@bors r+ rollup
:pushpin: Commit f3dcf65985dd956595a3f14dcb2a3052daceeb73 has been approved by pnkfelix
It is now in the queue for this repository.
The job mingw-check-tidy
failed! Check out the build log: (web) (plain)
Context
From #124744
Expands the example for E0582, an error ensuring that lifetime in a function's return type is sufficiently constrained (e.g. actually tied to some input type), to show an additional example where one sees the lifetime occurring syntactically among the relevant function input types, but is nonetheless rejected by rustc because a syntactic occurrence is not always sufficient.