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
--> $DIR/mismatched_target_os_non_unix.rs:6:1
|
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
2020-10-27 08:10:31 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:9: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
2020-10-27 08:10:31 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:12: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
2020-10-27 08:10:31 -05:00
--> $DIR/mismatched_target_os_non_unix.rs:16: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