]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/mismatched_target_os_unix.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / tools / clippy / tests / ui / mismatched_target_os_unix.stderr
CommitLineData
f20569fa
XL
1error: operating system used in target family position
2 --> $DIR/mismatched_target_os_unix.rs:6:1
3 |
4LL | #[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
12error: operating system used in target family position
13 --> $DIR/mismatched_target_os_unix.rs:9:1
14 |
15LL | #[cfg(freebsd)]
16 | ^^^^^^-------^^
17 | |
18 | help: try: `target_os = "freebsd"`
19 |
20 = help: did you mean `unix`?
21
22error: operating system used in target family position
23 --> $DIR/mismatched_target_os_unix.rs:12:1
24 |
25LL | #[cfg(dragonfly)]
26 | ^^^^^^---------^^
27 | |
28 | help: try: `target_os = "dragonfly"`
29 |
30 = help: did you mean `unix`?
31
32error: operating system used in target family position
33 --> $DIR/mismatched_target_os_unix.rs:15:1
34 |
35LL | #[cfg(openbsd)]
36 | ^^^^^^-------^^
37 | |
38 | help: try: `target_os = "openbsd"`
39 |
40 = help: did you mean `unix`?
41
42error: operating system used in target family position
43 --> $DIR/mismatched_target_os_unix.rs:18:1
44 |
45LL | #[cfg(netbsd)]
46 | ^^^^^^------^^
47 | |
48 | help: try: `target_os = "netbsd"`
49 |
50 = help: did you mean `unix`?
51
52error: operating system used in target family position
53 --> $DIR/mismatched_target_os_unix.rs:21:1
54 |
55LL | #[cfg(macos)]
56 | ^^^^^^-----^^
57 | |
58 | help: try: `target_os = "macos"`
59 |
60 = help: did you mean `unix`?
61
62error: operating system used in target family position
63 --> $DIR/mismatched_target_os_unix.rs:24:1
64 |
65LL | #[cfg(ios)]
66 | ^^^^^^---^^
67 | |
68 | help: try: `target_os = "ios"`
69 |
70 = help: did you mean `unix`?
71
72error: operating system used in target family position
73 --> $DIR/mismatched_target_os_unix.rs:27:1
74 |
75LL | #[cfg(android)]
76 | ^^^^^^-------^^
77 | |
78 | help: try: `target_os = "android"`
79 |
80 = help: did you mean `unix`?
81
82error: operating system used in target family position
83 --> $DIR/mismatched_target_os_unix.rs:30:1
84 |
85LL | #[cfg(emscripten)]
86 | ^^^^^^----------^^
87 | |
88 | help: try: `target_os = "emscripten"`
89 |
90 = help: did you mean `unix`?
91
92error: operating system used in target family position
93 --> $DIR/mismatched_target_os_unix.rs:33:1
94 |
95LL | #[cfg(fuchsia)]
96 | ^^^^^^-------^^
97 | |
98 | help: try: `target_os = "fuchsia"`
99 |
100 = help: did you mean `unix`?
101
102error: operating system used in target family position
103 --> $DIR/mismatched_target_os_unix.rs:36:1
104 |
105LL | #[cfg(haiku)]
106 | ^^^^^^-----^^
107 | |
108 | help: try: `target_os = "haiku"`
109 |
110 = help: did you mean `unix`?
111
112error: operating system used in target family position
113 --> $DIR/mismatched_target_os_unix.rs:39:1
114 |
115LL | #[cfg(illumos)]
116 | ^^^^^^-------^^
117 | |
118 | help: try: `target_os = "illumos"`
119 |
120 = help: did you mean `unix`?
121
122error: operating system used in target family position
123 --> $DIR/mismatched_target_os_unix.rs:42:1
124 |
125LL | #[cfg(l4re)]
126 | ^^^^^^----^^
127 | |
128 | help: try: `target_os = "l4re"`
129 |
130 = help: did you mean `unix`?
131
132error: operating system used in target family position
133 --> $DIR/mismatched_target_os_unix.rs:45:1
134 |
135LL | #[cfg(redox)]
136 | ^^^^^^-----^^
137 | |
138 | help: try: `target_os = "redox"`
139 |
140 = help: did you mean `unix`?
141
142error: operating system used in target family position
143 --> $DIR/mismatched_target_os_unix.rs:48:1
144 |
145LL | #[cfg(solaris)]
146 | ^^^^^^-------^^
147 | |
148 | help: try: `target_os = "solaris"`
149 |
150 = help: did you mean `unix`?
151
152error: operating system used in target family position
153 --> $DIR/mismatched_target_os_unix.rs:51:1
154 |
155LL | #[cfg(vxworks)]
156 | ^^^^^^-------^^
157 | |
158 | help: try: `target_os = "vxworks"`
159 |
160 = help: did you mean `unix`?
161
162error: operating system used in target family position
163 --> $DIR/mismatched_target_os_unix.rs:55:1
164 |
165LL | #[cfg(all(not(any(solaris, linux)), freebsd))]
166 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
167 |
168 = help: did you mean `unix`?
169help: try
170 |
171LL | #[cfg(all(not(any(target_os = "solaris", linux)), freebsd))]
172 | ^^^^^^^^^^^^^^^^^^^^^
173help: try
174 |
175LL | #[cfg(all(not(any(solaris, target_os = "linux")), freebsd))]
176 | ^^^^^^^^^^^^^^^^^^^
177help: try
178 |
179LL | #[cfg(all(not(any(solaris, linux)), target_os = "freebsd"))]
180 | ^^^^^^^^^^^^^^^^^^^^^
181
182error: aborting due to 17 previous errors
183