4

Lint against more useless `#[must_use]` attributes by PatchMixolydic · Pull Requ...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/93926
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

@PatchMixolydic PatchMixolydic commented 27 days ago

This expands the existing #[must_use] check in unused_attributes to lint against pretty much everything #[must_use] doesn't support.
Fixes #93906.

rukai, ebkalderon, and DianaNites reacted with hooray emoji

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK