Skip to content

RFC: 'task lifetime #8726

Closed
Closed
@huonw

Description

@huonw

Add a 'task lifetime that represents things that live as long as the task, e.g. borrowing a @T would give a &'task T.

I haven't met any instance where I really needed this; but @bblum said he'd be interested, and I have met a few lifetime issues with borrowing things out of @ in a chain (but this is probably just #3511).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lifetimesArea: Lifetimes / regions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions