소스 검색

fix(windows): fix unused PermissionsPlus fields

Signed-off-by: Christina Sørensen <ces@fem.gg>
Christina Sørensen 11 달 전
부모
커밋
5500c4e3aa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/fs/fields.rs

+ 2 - 0
src/fs/fields.rs

@@ -106,11 +106,13 @@ pub struct Attributes {
 /// little more compressed.
 #[derive(Copy, Clone)]
 pub struct PermissionsPlus {
+    #[allow(unused)]
     pub file_type: Type,
     #[cfg(unix)]
     pub permissions: Permissions,
     #[cfg(windows)]
     pub attributes: Attributes,
+    #[allow(unused)]
     pub xattrs: bool,
 }