]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/mismatched_target_os_unix.stderr
Auto merge of #99963 - cjgillot:iter-submodule, r=compiler-errors
[rust.git] / src / tools / clippy / tests / ui / mismatched_target_os_unix.stderr
1 error: operating system used in target family position
2   --> $DIR/mismatched_target_os_unix.rs:6:1
3    |
4 LL | #[cfg(linux)]
5    | ^^^^^^-----^^
6    |       |
7    |       help: try: `target_os = "linux"`
8    |
9    = note: `-D clippy::mismatched-target-os` implied by `-D warnings`
10    = help: did you mean `unix`?
11
12 error: operating system used in target family position
13   --> $DIR/mismatched_target_os_unix.rs:9:1
14    |
15 LL | #[cfg(freebsd)]
16    | ^^^^^^-------^^
17    |       |
18    |       help: try: `target_os = "freebsd"`
19    |
20    = help: did you mean `unix`?
21
22 error: operating system used in target family position
23   --> $DIR/mismatched_target_os_unix.rs:12:1
24    |
25 LL | #[cfg(dragonfly)]
26    | ^^^^^^---------^^
27    |       |
28    |       help: try: `target_os = "dragonfly"`
29    |
30    = help: did you mean `unix`?
31
32 error: operating system used in target family position
33   --> $DIR/mismatched_target_os_unix.rs:15:1
34    |
35 LL | #[cfg(openbsd)]
36    | ^^^^^^-------^^
37    |       |
38    |       help: try: `target_os = "openbsd"`
39    |
40    = help: did you mean `unix`?
41
42 error: operating system used in target family position
43   --> $DIR/mismatched_target_os_unix.rs:18:1
44    |
45 LL | #[cfg(netbsd)]
46    | ^^^^^^------^^
47    |       |
48    |       help: try: `target_os = "netbsd"`
49    |
50    = help: did you mean `unix`?
51
52 error: operating system used in target family position
53   --> $DIR/mismatched_target_os_unix.rs:21:1
54    |
55 LL | #[cfg(macos)]
56    | ^^^^^^-----^^
57    |       |
58    |       help: try: `target_os = "macos"`
59    |
60    = help: did you mean `unix`?
61
62 error: operating system used in target family position
63   --> $DIR/mismatched_target_os_unix.rs:24:1
64    |
65 LL | #[cfg(ios)]
66    | ^^^^^^---^^
67    |       |
68    |       help: try: `target_os = "ios"`
69    |
70    = help: did you mean `unix`?
71
72 error: operating system used in target family position
73   --> $DIR/mismatched_target_os_unix.rs:27:1
74    |
75 LL | #[cfg(android)]
76    | ^^^^^^-------^^
77    |       |
78    |       help: try: `target_os = "android"`
79    |
80    = help: did you mean `unix`?
81
82 error: operating system used in target family position
83   --> $DIR/mismatched_target_os_unix.rs:30:1
84    |
85 LL | #[cfg(emscripten)]
86    | ^^^^^^----------^^
87    |       |
88    |       help: try: `target_os = "emscripten"`
89    |
90    = help: did you mean `unix`?
91
92 error: operating system used in target family position
93   --> $DIR/mismatched_target_os_unix.rs:33:1
94    |
95 LL | #[cfg(fuchsia)]
96    | ^^^^^^-------^^
97    |       |
98    |       help: try: `target_os = "fuchsia"`
99    |
100    = help: did you mean `unix`?
101
102 error: operating system used in target family position
103   --> $DIR/mismatched_target_os_unix.rs:36:1
104    |
105 LL | #[cfg(haiku)]
106    | ^^^^^^-----^^
107    |       |
108    |       help: try: `target_os = "haiku"`
109    |
110    = help: did you mean `unix`?
111
112 error: operating system used in target family position
113   --> $DIR/mismatched_target_os_unix.rs:39:1
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_unix.rs:42: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_unix.rs:45:1
134    |
135 LL | #[cfg(redox)]
136    | ^^^^^^-----^^
137    |       |
138    |       help: try: `target_os = "redox"`
139    |
140    = help: did you mean `unix`?
141
142 error: operating system used in target family position
143   --> $DIR/mismatched_target_os_unix.rs:48:1
144    |
145 LL | #[cfg(solaris)]
146    | ^^^^^^-------^^
147    |       |
148    |       help: try: `target_os = "solaris"`
149    |
150    = help: did you mean `unix`?
151
152 error: operating system used in target family position
153   --> $DIR/mismatched_target_os_unix.rs:51:1
154    |
155 LL | #[cfg(vxworks)]
156    | ^^^^^^-------^^
157    |       |
158    |       help: try: `target_os = "vxworks"`
159    |
160    = help: did you mean `unix`?
161
162 error: operating system used in target family position
163   --> $DIR/mismatched_target_os_unix.rs:55:1
164    |
165 LL | #[cfg(all(not(any(solaris, linux)), freebsd))]
166    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
167    |
168    = help: did you mean `unix`?
169 help: try
170    |
171 LL | #[cfg(all(not(any(target_os = "solaris", linux)), freebsd))]
172    |                   ~~~~~~~~~~~~~~~~~~~~~
173 help: try
174    |
175 LL | #[cfg(all(not(any(solaris, target_os = "linux")), freebsd))]
176    |                            ~~~~~~~~~~~~~~~~~~~
177 help: try
178    |
179 LL | #[cfg(all(not(any(solaris, linux)), target_os = "freebsd"))]
180    |                                     ~~~~~~~~~~~~~~~~~~~~~
181
182 error: aborting due to 17 previous errors
183