about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-02 18:22:02 +0200
committerGitHub <noreply@github.com>2022-09-02 18:22:02 +0200
commit1e008fec047c2e33cff494a923f01a6984e7fb9e (patch)
tree30e4dd1e93107a772602e7def2bec682b81c5284 /compiler/rustc_interface/src/errors.rs
parent5a23efd31e0eaee3c8111a0018e541e672ca4a18 (diff)
parent630f831cd06d24732c9a422b8d3d3e2ce9e1a879 (diff)
downloadrust-1e008fec047c2e33cff494a923f01a6984e7fb9e.tar.gz
rust-1e008fec047c2e33cff494a923f01a6984e7fb9e.zip
Rollup merge of #101260 - ChrisDenton:attribute-tag, r=thomcc
Use `FILE_ATTRIBUTE_TAG_INFO` to get reparse tag

I've been looking at this code recently and it just occurred to me we don't actually use the full reparse data at this point, only the tag. [`GetFileInformationByHandleEx`](https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getfileinformationbyhandleex) can do exactly that by filling a [`FILE_ATTRIBUTE_TAG_INFO`](https://docs.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-file_attribute_tag_info) struct.

r? ```````@thomcc``````` since you've made changes here recently (which is why I have this code on my mind atm)
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions