Skip to content

Commit 01ef7c7

Browse files
committed
Fix dogfood
1 parent 21343ab commit 01ef7c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_utils/src/paths.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ pub const PARKING_LOT_RWLOCK_WRITE_GUARD: [&str; 2] = ["parking_lot", "RwLockWri
117117
pub const PATH_BUF_AS_PATH: [&str; 4] = ["std", "path", "PathBuf", "as_path"];
118118
pub const PATH_TO_PATH_BUF: [&str; 4] = ["std", "path", "Path", "to_path_buf"];
119119
pub const PERMISSIONS: [&str; 3] = ["std", "fs", "Permissions"];
120+
#[cfg_attr(not(unix), allow(clippy::invalid_paths))]
120121
pub const PERMISSIONS_FROM_MODE: [&str; 6] = ["std", "os", "unix", "fs", "PermissionsExt", "from_mode"];
121122
pub const POLL: [&str; 4] = ["core", "task", "poll", "Poll"];
122123
pub const POLL_PENDING: [&str; 5] = ["core", "task", "poll", "Poll", "Pending"];

0 commit comments

Comments
 (0)