about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-09-07 07:43:53 +0900
committerGitHub <noreply@github.com>2022-09-07 07:43:53 +0900
commit923dae5c9fffbc31e73fe66ead5b9be45ac5208b (patch)
tree92b54851bf890b641fa466a60758acd6d4f2c3ca /library/std
parenta12e29af922b4db80472be84eadeae92f5e7f1f1 (diff)
parent774e71228cdea918a258f7d1d44251973ff4889d (diff)
downloadrust-923dae5c9fffbc31e73fe66ead5b9be45ac5208b.tar.gz
rust-923dae5c9fffbc31e73fe66ead5b9be45ac5208b.zip
Rollup merge of #101481 - ChrisDenton:uwp-fix, r=thomcc
Fix compile errors for uwp-windows-msvc targets

Fixes #101480
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/windows/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/windows/fs.rs b/library/std/src/sys/windows/fs.rs
index c2ad592dfea..155d0297e49 100644
--- a/library/std/src/sys/windows/fs.rs
+++ b/library/std/src/sys/windows/fs.rs
@@ -403,7 +403,7 @@ impl File {
                     mem::size_of::<c::FILE_ATTRIBUTE_TAG_INFO>().try_into().unwrap(),
                 ))?;
                 if attr_tag.FileAttributes & c::FILE_ATTRIBUTE_REPARSE_POINT != 0 {
-                    reparse_tag = attr_tag.ReparseTag;
+                    attr.reparse_tag = attr_tag.ReparseTag;
                 }
             }
             Ok(attr)