bors 02f3c17593 Auto merge of #8419 - flip1995:await_parking_alot, r=llogiq
Fix `await_holding_lock` not linting `parking_lot` Mutex/RwLock

This adds tests for `RwLock` and `parking_lot::{Mutex, RwLock}`, which were added before in 2dc8c083f5, but never tested in UI tests. I noticed this while reading [fasterthanli.me](https://fasterthanli.me/articles/a-rust-match-made-in-hell) latest blog post, complaining that Clippy doesn't catch this for `parking_lot`. (Too many people read his blog, he's too powerful)

Some more things:
- Adds a test for #6446
- Improves the lint message

changelog: [`await_holding_lock`]: Now also lints for `parking_lot::{Mutex, RwLock}`
2022-02-18 10:55:05 +00:00
..
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2022-02-11 15:56:10 +00:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2022-02-08 15:11:48 -06:00
2022-02-08 15:11:48 -06:00
2021-12-13 17:09:16 +00:00
2022-01-30 15:39:47 +09:00
2022-01-30 15:39:47 +09:00
2022-01-30 15:39:47 +09:00
2022-02-01 13:44:24 +09:00
2022-02-01 13:44:24 +09:00
2021-12-13 00:00:51 +00:00
2021-12-13 00:00:51 +00:00
2022-02-17 20:16:14 +01:00
2022-02-14 18:49:51 +01:00
2022-02-14 18:49:51 +01:00
2022-02-14 18:49:51 +01:00
2021-12-12 12:34:21 +00:00
2021-12-12 12:34:21 +00:00