rust/tests/ui/mismatched_target_os_unix.stderr

184 lines
4.5 KiB
Plaintext
Raw Normal View History

error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:6:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(linux)]
| ^^^^^^-----^^
| |
| help: try: `target_os = "linux"`
2020-04-22 16:01:25 -05:00
|
= note: `-D clippy::mismatched-target-os` implied by `-D warnings`
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:9:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(freebsd)]
| ^^^^^^-------^^
| |
| help: try: `target_os = "freebsd"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:12:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(dragonfly)]
| ^^^^^^---------^^
| |
| help: try: `target_os = "dragonfly"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:15:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(openbsd)]
| ^^^^^^-------^^
| |
| help: try: `target_os = "openbsd"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:18:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(netbsd)]
| ^^^^^^------^^
| |
| help: try: `target_os = "netbsd"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:21:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(macos)]
| ^^^^^^-----^^
| |
| help: try: `target_os = "macos"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:24:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(ios)]
| ^^^^^^---^^
| |
| help: try: `target_os = "ios"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:27:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(android)]
| ^^^^^^-------^^
| |
| help: try: `target_os = "android"`
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
2020-04-22 16:01:25 -05:00
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:30:1
2020-04-22 16:01:25 -05:00
|
LL | #[cfg(emscripten)]
| ^^^^^^----------^^
| |
| help: try: `target_os = "emscripten"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:33:1
|
LL | #[cfg(fuchsia)]
| ^^^^^^-------^^
| |
| help: try: `target_os = "fuchsia"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:36:1
|
LL | #[cfg(haiku)]
| ^^^^^^-----^^
| |
| help: try: `target_os = "haiku"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:39:1
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(illumos)]
| ^^^^^^-------^^
| |
2020-04-26 14:26:19 -05:00
| help: try: `target_os = "illumos"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:42:1
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(l4re)]
| ^^^^^^----^^
| |
2020-04-26 14:26:19 -05:00
| help: try: `target_os = "l4re"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:45:1
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(redox)]
| ^^^^^^-----^^
| |
2020-04-26 14:26:19 -05:00
| help: try: `target_os = "redox"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:48:1
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(solaris)]
| ^^^^^^-------^^
| |
2020-04-26 14:26:19 -05:00
| help: try: `target_os = "solaris"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:51:1
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(vxworks)]
| ^^^^^^-------^^
| |
2020-04-26 14:26:19 -05:00
| help: try: `target_os = "vxworks"`
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
error: operating system used in target family position
2020-04-26 14:26:19 -05:00
--> $DIR/mismatched_target_os_unix.rs:55:1
2020-04-22 16:01:25 -05:00
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(all(not(any(solaris, linux)), freebsd))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020-04-22 16:01:25 -05:00
|
2021-02-24 07:02:51 -06:00
= help: did you mean `unix`?
help: try
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(all(not(any(target_os = "solaris", linux)), freebsd))]
| ^^^^^^^^^^^^^^^^^^^^^
help: try
|
LL | #[cfg(all(not(any(solaris, target_os = "linux")), freebsd))]
| ^^^^^^^^^^^^^^^^^^^
help: try
|
2020-04-26 14:26:19 -05:00
LL | #[cfg(all(not(any(solaris, linux)), target_os = "freebsd"))]
| ^^^^^^^^^^^^^^^^^^^^^
2020-04-22 16:01:25 -05:00
2020-04-26 14:26:19 -05:00
error: aborting due to 17 previous errors
2020-04-22 16:01:25 -05:00