Skip to content

Commit 45d4e61

Browse files
committed
Auto merge of rust-lang#84200 - CDirkx:os, r=m-ou-se
Move all `sys::ext` modules to `os` This PR moves all `sys::ext` modules to `os`, centralizing the location of all `os` code and simplifying the dependencies between `os` and `sys`. Because this also removes all uses `cfg_if!` on publicly exported items, where after rust-lang#81969 there were still a few left, this should properly work around rust-lang/rust-analyzer#6038. `@rustbot` label: +T-libs-impl
2 parents 9735470 + ee6d1a3 commit 45d4e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/paths.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub const PARKING_LOT_RWLOCK_WRITE_GUARD: [&str; 2] = ["parking_lot", "RwLockWri
101101
pub const PATH_BUF_AS_PATH: [&str; 4] = ["std", "path", "PathBuf", "as_path"];
102102
pub const PATH_TO_PATH_BUF: [&str; 4] = ["std", "path", "Path", "to_path_buf"];
103103
pub const PERMISSIONS: [&str; 3] = ["std", "fs", "Permissions"];
104-
pub const PERMISSIONS_FROM_MODE: [&str; 7] = ["std", "sys", "unix", "ext", "fs", "PermissionsExt", "from_mode"];
104+
pub const PERMISSIONS_FROM_MODE: [&str; 7] = ["std", "os", "imp", "unix", "fs", "PermissionsExt", "from_mode"];
105105
pub const POLL: [&str; 4] = ["core", "task", "poll", "Poll"];
106106
pub const POLL_PENDING: [&str; 5] = ["core", "task", "poll", "Poll", "Pending"];
107107
pub const POLL_READY: [&str; 5] = ["core", "task", "poll", "Poll", "Ready"];

0 commit comments

Comments
 (0)