rust/tests/ui/mismatched_target_os_non_unix.stderr

37 lines
1003 B
Plaintext
Raw Normal View History

2020-04-26 14:26:19 -05:00
error: operating system used in target family position
2023-07-27 06:40:22 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:4:1
2020-04-26 14:26:19 -05:00
|
LL | #[cfg(hermit)]
| ^^^^^^------^^
| |
| help: try: `target_os = "hermit"`
2020-10-27 08:10:31 -05:00
|
= note: `-D clippy::mismatched-target-os` implied by `-D warnings`
2020-04-26 14:26:19 -05:00
error: operating system used in target family position
2023-07-27 06:40:22 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:7:1
2020-04-26 14:26:19 -05:00
|
LL | #[cfg(wasi)]
| ^^^^^^----^^
| |
| help: try: `target_os = "wasi"`
error: operating system used in target family position
2023-07-27 06:40:22 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:10:1
2020-04-26 14:26:19 -05:00
|
LL | #[cfg(none)]
| ^^^^^^----^^
| |
| help: try: `target_os = "none"`
error: operating system used in target family position
2023-07-27 06:40:22 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:14:1
2020-04-26 14:26:19 -05:00
|
2020-10-27 08:10:31 -05:00
LL | #[cfg(all(not(windows), wasi))]
| ^^^^^^^^^^^^^^^^^^^^^^^^----^^^
| |
| help: try: `target_os = "wasi"`
2020-04-26 14:26:19 -05:00
2020-10-27 08:10:31 -05:00
error: aborting due to 4 previous errors
2020-04-26 14:26:19 -05:00