Skip to content

Commit 923dae5

Browse files
authored
Rollup merge of #101481 - ChrisDenton:uwp-fix, r=thomcc
Fix compile errors for uwp-windows-msvc targets Fixes #101480
2 parents a12e29a + 774e712 commit 923dae5

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/windows

1 file changed

+1
-1
lines changed

library/std/src/sys/windows/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ impl File {
403403
mem::size_of::<c::FILE_ATTRIBUTE_TAG_INFO>().try_into().unwrap(),
404404
))?;
405405
if attr_tag.FileAttributes & c::FILE_ATTRIBUTE_REPARSE_POINT != 0 {
406-
reparse_tag = attr_tag.ReparseTag;
406+
attr.reparse_tag = attr_tag.ReparseTag;
407407
}
408408
}
409409
Ok(attr)

0 commit comments

Comments
 (0)