rust-clippy/tests/ui/mismatched_target_os_non_unix.stderr

38 lines
1.1 KiB
Text
Raw Normal View History

2020-04-26 19:26:19 +00:00
error: operating system used in target family position
--> tests/ui/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`
= help: to override `-D warnings` add `#[allow(clippy::mismatched_target_os)]`
2020-04-26 19:26:19 +00:00
error: operating system used in target family position
--> tests/ui/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
--> tests/ui/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
--> tests/ui/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