File tree Expand file tree Collapse file tree 1 file changed +31
-13
lines changed
Expand file tree Collapse file tree 1 file changed +31
-13
lines changed Original file line number Diff line number Diff line change @@ -67,43 +67,61 @@ pub(super) fn write(out: &mut OutFile) {
6767 }
6868 }
6969
70- if include. array {
70+ let Includes {
71+ custom : _,
72+ array,
73+ cstddef,
74+ cstdint,
75+ cstring,
76+ exception,
77+ iterator,
78+ memory,
79+ new,
80+ string,
81+ type_traits,
82+ utility,
83+ vector,
84+ basetsd,
85+ content : _,
86+ } = * include;
87+
88+ if array {
7189 writeln ! ( out, "#include <array>" ) ;
7290 }
73- if include . cstddef {
91+ if cstddef {
7492 writeln ! ( out, "#include <cstddef>" ) ;
7593 }
76- if include . cstdint {
94+ if cstdint {
7795 writeln ! ( out, "#include <cstdint>" ) ;
7896 }
79- if include . cstring {
97+ if cstring {
8098 writeln ! ( out, "#include <cstring>" ) ;
8199 }
82- if include . exception {
100+ if exception {
83101 writeln ! ( out, "#include <exception>" ) ;
84102 }
85- if include . iterator {
103+ if iterator {
86104 writeln ! ( out, "#include <iterator>" ) ;
87105 }
88- if include . memory {
106+ if memory {
89107 writeln ! ( out, "#include <memory>" ) ;
90108 }
91- if include . new {
109+ if new {
92110 writeln ! ( out, "#include <new>" ) ;
93111 }
94- if include . string {
112+ if string {
95113 writeln ! ( out, "#include <string>" ) ;
96114 }
97- if include . type_traits {
115+ if type_traits {
98116 writeln ! ( out, "#include <type_traits>" ) ;
99117 }
100- if include . utility {
118+ if utility {
101119 writeln ! ( out, "#include <utility>" ) ;
102120 }
103- if include . vector {
121+ if vector {
104122 writeln ! ( out, "#include <vector>" ) ;
105123 }
106- if include . basetsd {
124+ if basetsd {
107125 writeln ! ( out, "#if defined(_WIN32)" ) ;
108126 writeln ! ( out, "#include <basetsd.h>" ) ;
109127 writeln ! ( out, "#endif" ) ;
You can’t perform that action at this time.
0 commit comments