We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non_octal_unix_permissions
1 parent 1b0be2a commit 8147cf4Copy full SHA for 8147cf4
std/src/os/unix/fs.rs
@@ -334,6 +334,7 @@ pub trait PermissionsExt {
334
/// assert_eq!(permissions.mode(), 0o644);
335
/// ```
336
#[stable(feature = "fs_ext", since = "1.1.0")]
337
+ #[cfg_attr(not(test), rustc_diagnostic_item = "permissions_from_mode")]
338
fn from_mode(mode: u32) -> Self;
339
}
340
0 commit comments