rust/compiler/rustc_lint
Matthias Krüger 72dddeaeb7
Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8Ki
Improve `let_underscore_lock`

- lint if the lock was in a nested pattern
- lint if the lock is inside a `Result<Lock, _>`

addresses https://github.com/rust-lang/rust/pull/119704#discussion_r1444044745
2024-01-22 07:56:41 +01:00
..
src Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8Ki 2024-01-22 07:56:41 +01:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
messages.ftl Improve let_underscore_lock 2024-01-12 23:18:58 +01:00