]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_target_os_non_unix.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / mismatched_target_os_non_unix.stderr
1 error: operating system used in target family position
2   --> $DIR/mismatched_target_os_non_unix.rs:6:1
3    |
4 LL | #[cfg(cloudabi)]
5    | ^^^^^^--------^^
6    |       |
7    |       help: try: `target_os = "cloudabi"`
8    |
9    = note: `-D clippy::mismatched-target-os` implied by `-D warnings`
10
11 error: operating system used in target family position
12   --> $DIR/mismatched_target_os_non_unix.rs:9:1
13    |
14 LL | #[cfg(hermit)]
15    | ^^^^^^------^^
16    |       |
17    |       help: try: `target_os = "hermit"`
18
19 error: operating system used in target family position
20   --> $DIR/mismatched_target_os_non_unix.rs:12:1
21    |
22 LL | #[cfg(wasi)]
23    | ^^^^^^----^^
24    |       |
25    |       help: try: `target_os = "wasi"`
26
27 error: operating system used in target family position
28   --> $DIR/mismatched_target_os_non_unix.rs:15:1
29    |
30 LL | #[cfg(none)]
31    | ^^^^^^----^^
32    |       |
33    |       help: try: `target_os = "none"`
34
35 error: operating system used in target family position
36   --> $DIR/mismatched_target_os_non_unix.rs:19:1
37    |
38 LL | #[cfg(all(not(any(windows, cloudabi)), wasi))]
39    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40    |
41 help: try
42    |
43 LL | #[cfg(all(not(any(windows, target_os = "cloudabi")), wasi))]
44    |                            ^^^^^^^^^^^^^^^^^^^^^^
45 help: try
46    |
47 LL | #[cfg(all(not(any(windows, cloudabi)), target_os = "wasi"))]
48    |                                        ^^^^^^^^^^^^^^^^^^
49
50 error: aborting due to 5 previous errors
51