| help: try: `target_os = "linux"`
|
= note: `-D clippy::mismatched-target-os` implied by `-D warnings`
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:9:1
| |
| help: try: `target_os = "freebsd"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:12:1
| |
| help: try: `target_os = "dragonfly"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:15:1
| |
| help: try: `target_os = "openbsd"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:18:1
| |
| help: try: `target_os = "netbsd"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:21:1
| |
| help: try: `target_os = "macos"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:24:1
| |
| help: try: `target_os = "ios"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:27:1
| |
| help: try: `target_os = "android"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:30:1
| |
| help: try: `target_os = "emscripten"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:33:1
| |
| help: try: `target_os = "fuchsia"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:36:1
| |
| help: try: `target_os = "haiku"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:39:1
| |
| help: try: `target_os = "illumos"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:42:1
| |
| help: try: `target_os = "l4re"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:45:1
| |
| help: try: `target_os = "redox"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:48:1
| |
| help: try: `target_os = "solaris"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:51:1
| |
| help: try: `target_os = "vxworks"`
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
error: operating system used in target family position
--> $DIR/mismatched_target_os_unix.rs:55:1
LL | #[cfg(all(not(any(solaris, linux)), freebsd))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
- = help: Did you mean `unix`?
+ = help: did you mean `unix`?
help: try
|
LL | #[cfg(all(not(any(target_os = "solaris", linux)), freebsd))]