rust-lang / rust-lang/rust-clippy
Use rustc_lint's `is_ty_must_use`
Open
@samueltardieu is already working on this.
Since Feb 21, 2026.
C-enhancement
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
Description
Once https://github.com/rust-lang/rust/pull/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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.