Skip to content

Extend #[must_use] to more types #73417

@tmandry

Description

@tmandry

In particular, we should add #[must_use] to these "wrapper" types in the standard library:

Both would be conditioned on whether T was #[must_use].

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-async-awaitArea: Async & AwaitAsyncAwait-TriagedAsync-await issues that have been triaged during a working group meeting.T-langRelevant to the language teamT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions