about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-09-13 21:27:53 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-09-13 21:27:53 +0200
commitd37f1091e84cd769eb17af62ee13160087fbf176 (patch)
treef7ef5044d3b8affa637d11227aee0a6687eb5b12
parent1add837c914e0e6131dd2065f32faebedb45e640 (diff)
downloadrust-d37f1091e84cd769eb17af62ee13160087fbf176.tar.gz
rust-d37f1091e84cd769eb17af62ee13160087fbf176.zip
Update permissions path for clippy lint
-rw-r--r--clippy_utils/src/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/paths.rs b/clippy_utils/src/paths.rs
index d7e46c2d3eb..80be4350c3c 100644
--- a/clippy_utils/src/paths.rs
+++ b/clippy_utils/src/paths.rs
@@ -104,7 +104,7 @@ pub const PARKING_LOT_RWLOCK_WRITE_GUARD: [&str; 2] = ["parking_lot", "RwLockWri
 pub const PATH_BUF_AS_PATH: [&str; 4] = ["std", "path", "PathBuf", "as_path"];
 pub const PATH_TO_PATH_BUF: [&str; 4] = ["std", "path", "Path", "to_path_buf"];
 pub const PERMISSIONS: [&str; 3] = ["std", "fs", "Permissions"];
-pub const PERMISSIONS_FROM_MODE: [&str; 7] = ["std", "os", "imp", "unix", "fs", "PermissionsExt", "from_mode"];
+pub const PERMISSIONS_FROM_MODE: [&str; 6] = ["std", "os", "unix", "fs", "PermissionsExt", "from_mode"];
 pub const POLL: [&str; 4] = ["core", "task", "poll", "Poll"];
 pub const POLL_PENDING: [&str; 5] = ["core", "task", "poll", "Poll", "Pending"];
 pub const POLL_READY: [&str; 5] = ["core", "task", "poll", "Poll", "Ready"];