about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-28 13:08:02 +0000
committerbors <bors@rust-lang.org>2023-07-28 13:08:02 +0000
commitd3c5b488db292e139642a1eacffebc894b43b478 (patch)
tree33e4c1f896268a00a7ae367e4cb754af3eb5474c /compiler/rustc_codegen_llvm/src
parent295bdc028f3ed7a314469c4a5a2c98b38a77db30 (diff)
parent5e88003ddac563a8ffc912d6e69332d479a92cc3 (diff)
downloadrust-d3c5b488db292e139642a1eacffebc894b43b478.tar.gz
rust-d3c5b488db292e139642a1eacffebc894b43b478.zip
Auto merge of #11210 - y21:readonly_write_lock, r=giraffate
new lint: [`readonly_write_lock`]

Closes #8555

A new lint that catches `RwLock::write` calls to acquire a write lock only to read from it and not actually do any writes (mutations).

changelog: new lint: [`readonly_write_lock`]
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions