about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-02-23 18:26:30 +0000
committerbors <bors@rust-lang.org>2022-02-23 18:26:30 +0000
commit042892a0815fe0fec72ea1a07348d99ca08bf944 (patch)
treeb1e8091ae7573d4722047e8c0cee28cec51cb5a4 /compiler/rustc_codegen_llvm/src/llvm/mod.rs
parent7f8760a44ce9b1424f6f1519ed452d6b323bc275 (diff)
parent31b49b0be8e1153da13be71dcc9d6bff888217e2 (diff)
downloadrust-042892a0815fe0fec72ea1a07348d99ca08bf944.tar.gz
rust-042892a0815fe0fec72ea1a07348d99ca08bf944.zip
Auto merge of #8466 - tamaroning:fix_reduntant_closure, r=Manishearth
False positive redundant_closure when using ref pattern in closure params

fixes #8460
Fixed [redundant_closure] so that closures of which params bound as `ref` or `ref mut ` doesn't trigger the lint.
(e.g. `|ref x| some_expr` doesn't trigger the lint.)
changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions