diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2022-09-06 12:39:46 +0100 |
|---|---|---|
| committer | Chris Denton <christophersdenton@gmail.com> | 2022-09-06 14:57:42 +0100 |
| commit | 774e71228cdea918a258f7d1d44251973ff4889d (patch) | |
| tree | bf08d3c82daa8fc7258c94175e5a66a08b1295c9 /library/std/src | |
| parent | a594044533b5e309eab7ac6b71f4ba8a909af653 (diff) | |
| download | rust-774e71228cdea918a258f7d1d44251973ff4889d.tar.gz rust-774e71228cdea918a258f7d1d44251973ff4889d.zip | |
Fix compile errors for uwp-windows-msvc targets
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/windows/fs.rs | 2 |
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) |
