]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/mismatched_target_os_non_unix.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / mismatched_target_os_non_unix.stderr
CommitLineData
f20569fa
XL
1error: operating system used in target family position
2 --> $DIR/mismatched_target_os_non_unix.rs:6:1
3 |
4LL | #[cfg(hermit)]
5 | ^^^^^^------^^
6 | |
7 | help: try: `target_os = "hermit"`
8 |
9 = note: `-D clippy::mismatched-target-os` implied by `-D warnings`
10
11error: operating system used in target family position
12 --> $DIR/mismatched_target_os_non_unix.rs:9:1
13 |
14LL | #[cfg(wasi)]
15 | ^^^^^^----^^
16 | |
17 | help: try: `target_os = "wasi"`
18
19error: operating system used in target family position
20 --> $DIR/mismatched_target_os_non_unix.rs:12:1
21 |
22LL | #[cfg(none)]
23 | ^^^^^^----^^
24 | |
25 | help: try: `target_os = "none"`
26
27error: operating system used in target family position
28 --> $DIR/mismatched_target_os_non_unix.rs:16:1
29 |
30LL | #[cfg(all(not(windows), wasi))]
31 | ^^^^^^^^^^^^^^^^^^^^^^^^----^^^
32 | |
33 | help: try: `target_os = "wasi"`
34
35error: aborting due to 4 previous errors
36