bors 83d0682d5e 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
2023-07-02 15:14:46 +00:00
..
2023-06-30 11:43:02 -05:00
2023-06-30 11:43:02 -05:00
2023-06-28 03:20:21 -05:00
2023-06-28 03:20:21 -05:00
2023-07-01 12:36:02 -05:00
2023-07-01 12:37:16 -05:00
2023-07-02 07:11:05 -05:00
2023-06-29 09:27:49 -03:00
2023-06-29 09:27:49 -03:00
2023-06-29 09:27:49 -03:00
2023-06-29 06:46:28 -05:00