diff --git a/src/fs/fields.rs b/src/fs/fields.rs index d51b89cfa..7d678351a 100644 --- a/src/fs/fields.rs +++ b/src/fs/fields.rs @@ -32,6 +32,7 @@ pub type ino_t = u64; pub type nlink_t = u64; /// The type of a file’s timestamp (creation, modification, access, etc). +#[allow(unused)] pub type time_t = i64; /// The type of a file’s user ID. @@ -207,6 +208,7 @@ pub struct DeviceIDs { } /// One of a file’s timestamps (created, accessed, or modified). +#[allow(unused)] #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)] pub struct Time { pub seconds: time_t,