Extend #[must_use]
to more types
#73417
Labels
A-async-await
Area: Async & Await
AsyncAwait-Triaged
Async-await issues that have been triaged during a working group meeting.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
In particular, we should add
#[must_use]
to these "wrapper" types in the standard library:#[must_use]
to Pin #67387Pin
#[must_use]
if T is #71368Option
Both would be conditioned on whether
T
was#[must_use]
.The text was updated successfully, but these errors were encountered: