rust-lang / rust-lang/rust-clippy

`let_underscore` regression for `parking_lot`

Open
#9,844 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Description

When let_underscore was upgraded to rustc, parking_lot support was dropped: https://github.com/rust-lang/rust/pull/97739#discussion_r889637839, but clippy didn’t keep it either.

The question is if we should keep the clippy lint only for this particular crate.

Version

No response

Additional Labels

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read rust-lang/rust pull request 97739 and its parking_lot discussion, then inspect Clippy's let_underscore lint behavior for that crate. Decide whether parking_lot should retain a crate-specific lint and verify the chosen behavior against the reported regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.