about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-02 15:14:46 +0000
committerbors <bors@rust-lang.org>2023-07-02 15:14:46 +0000
commit83d0682d5e40efebc6e06510a7012b8fd01b6c51 (patch)
treeebdc2818716732cce89d8c5cd89b1d449d2ba374 /compiler/rustc_codegen_llvm/src/errors.rs
parent17a48c2652c8038f9498c0eeb693673b8bfcb206 (diff)
parente29a5acf6f177e35ad00d7120fc3422ac94c3ac9 (diff)
downloadrust-83d0682d5e40efebc6e06510a7012b8fd01b6c51.tar.gz
rust-83d0682d5e40efebc6e06510a7012b8fd01b6c51.zip
Auto merge of #11061 - Alexendoo:let-and-return-closures, r=llogiq
`let_and_return`: lint 'static lifetimes, don't lint borrows in closures

Fixes #11056

Now also ignores functions returning `'static` lifetimes, since I noticed the `stdin.lock()` example was still being linted but doesn't need to be since https://github.com/rust-lang/rust/pull/93965

changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions