@@ -112,26 +112,6 @@ LL | #[cfg(haiku)]
112
112
error: operating system used in target family position
113
113
--> $DIR/mismatched_target_os.rs:41:1
114
114
|
115
- LL | #[cfg(illumos)]
116
- | ^^^^^^-------^^
117
- | |
118
- | help: try: `target_os = "illumos"`
119
- |
120
- = help: Did you mean `unix`?
121
-
122
- error: operating system used in target family position
123
- --> $DIR/mismatched_target_os.rs:44:1
124
- |
125
- LL | #[cfg(l4re)]
126
- | ^^^^^^----^^
127
- | |
128
- | help: try: `target_os = "l4re"`
129
- |
130
- = help: Did you mean `unix`?
131
-
132
- error: operating system used in target family position
133
- --> $DIR/mismatched_target_os.rs:47:1
134
- |
135
115
LL | #[cfg(redox)]
136
116
| ^^^^^^-----^^
137
117
| |
@@ -140,7 +120,7 @@ LL | #[cfg(redox)]
140
120
= help: Did you mean `unix`?
141
121
142
122
error: operating system used in target family position
143
- --> $DIR/mismatched_target_os.rs:50 :1
123
+ --> $DIR/mismatched_target_os.rs:44 :1
144
124
|
145
125
LL | #[cfg(solaris)]
146
126
| ^^^^^^-------^^
@@ -150,7 +130,7 @@ LL | #[cfg(solaris)]
150
130
= help: Did you mean `unix`?
151
131
152
132
error: operating system used in target family position
153
- --> $DIR/mismatched_target_os.rs:53 :1
133
+ --> $DIR/mismatched_target_os.rs:47 :1
154
134
|
155
135
LL | #[cfg(vxworks)]
156
136
| ^^^^^^-------^^
@@ -160,39 +140,39 @@ LL | #[cfg(vxworks)]
160
140
= help: Did you mean `unix`?
161
141
162
142
error: operating system used in target family position
163
- --> $DIR/mismatched_target_os.rs:58 :1
143
+ --> $DIR/mismatched_target_os.rs:52 :1
164
144
|
165
145
LL | #[cfg(cloudabi)]
166
146
| ^^^^^^--------^^
167
147
| |
168
148
| help: try: `target_os = "cloudabi"`
169
149
170
150
error: operating system used in target family position
171
- --> $DIR/mismatched_target_os.rs:61 :1
151
+ --> $DIR/mismatched_target_os.rs:55 :1
172
152
|
173
153
LL | #[cfg(hermit)]
174
154
| ^^^^^^------^^
175
155
| |
176
156
| help: try: `target_os = "hermit"`
177
157
178
158
error: operating system used in target family position
179
- --> $DIR/mismatched_target_os.rs:64 :1
159
+ --> $DIR/mismatched_target_os.rs:58 :1
180
160
|
181
161
LL | #[cfg(wasi)]
182
162
| ^^^^^^----^^
183
163
| |
184
164
| help: try: `target_os = "wasi"`
185
165
186
166
error: operating system used in target family position
187
- --> $DIR/mismatched_target_os.rs:67 :1
167
+ --> $DIR/mismatched_target_os.rs:61 :1
188
168
|
189
169
LL | #[cfg(none)]
190
170
| ^^^^^^----^^
191
171
| |
192
172
| help: try: `target_os = "none"`
193
173
194
174
error: operating system used in target family position
195
- --> $DIR/mismatched_target_os.rs:71 :1
175
+ --> $DIR/mismatched_target_os.rs:65 :1
196
176
|
197
177
LL | #[cfg(all(not(any(windows, linux)), freebsd))]
198
178
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -207,5 +187,5 @@ help: try
207
187
LL | #[cfg(all(not(any(windows, linux)), target_os = "freebsd"))]
208
188
| ^^^^^^^^^^^^^^^^^^^^^
209
189
210
- error: aborting due to 21 previous errors
190
+ error: aborting due to 19 previous errors
211
191
0 commit comments