about summary refs log tree commit diff
path: root/clippy_utils/src
diff options
context:
space:
mode:
authorKlim Tsoutsman <klimusha@gmail.com>2022-06-13 13:08:50 +1000
committerKlim Tsoutsman <klim@tsoutsman.com>2022-06-27 20:35:26 +1000
commit65f700fa894ba833251bfe0217dc4634b75ea6bc (patch)
tree5757811b1a96440c6e95ac4a0bb344c7a1f7cf90 /clippy_utils/src
parent6b762ee330a1f6f366d2316aa999a541663bce1d (diff)
downloadrust-65f700fa894ba833251bfe0217dc4634b75ea6bc.tar.gz
rust-65f700fa894ba833251bfe0217dc4634b75ea6bc.zip
Fix `let_undescore_lock` false-positive when binding without locking
Signed-off-by: Klim Tsoutsman <klimusha@gmail.com>
Diffstat (limited to 'clippy_utils/src')
-rw-r--r--clippy_utils/src/paths.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/clippy_utils/src/paths.rs b/clippy_utils/src/paths.rs
index b31e2c1cdb1..ceef1d342e2 100644
--- a/clippy_utils/src/paths.rs
+++ b/clippy_utils/src/paths.rs
@@ -84,8 +84,6 @@ pub const OPTION_SOME: [&str; 4] = ["core", "option", "Option", "Some"];
 pub const ORD: [&str; 3] = ["core", "cmp", "Ord"];
 pub const OS_STRING_AS_OS_STR: [&str; 5] = ["std", "ffi", "os_str", "OsString", "as_os_str"];
 pub const OS_STR_TO_OS_STRING: [&str; 5] = ["std", "ffi", "os_str", "OsStr", "to_os_string"];
-pub const PARKING_LOT_RAWMUTEX: [&str; 3] = ["parking_lot", "raw_mutex", "RawMutex"];
-pub const PARKING_LOT_RAWRWLOCK: [&str; 3] = ["parking_lot", "raw_rwlock", "RawRwLock"];
 pub const PARKING_LOT_MUTEX_GUARD: [&str; 3] = ["lock_api", "mutex", "MutexGuard"];
 pub const PARKING_LOT_RWLOCK_READ_GUARD: [&str; 3] = ["lock_api", "rwlock", "RwLockReadGuard"];
 pub const PARKING_LOT_RWLOCK_WRITE_GUARD: [&str; 3] = ["lock_api", "rwlock", "RwLockWriteGuard"];