Skip to content

Use rustc_lint's is_ty_must_use #16606

@samueltardieu

Description

@samueltardieu

Description

Once rust-lang/rust#148214 is merged, it would be if Clippy could use rustc_lint's is_ty_must_use instead of having its own (currently outdated) view of the situation.

See this Zulip thread for more context.

Version


Additional Labels

No response

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesS-blockedStatus: marked as blocked ❌ on something else such as an RFC or other implementation work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions