rust-clippy/tests/ui/mismatched_target_os_non_unix.stderr

37 lines
1,003 B
Text
Raw Normal View History

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