-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #6371 - ebroto:rustup, r=ebroto
Rustup changelog: none r? `@ghost`
- Loading branch information
Showing
5 changed files
with
14 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,36 @@ | ||
error: operating system used in target family position | ||
--> $DIR/mismatched_target_os_non_unix.rs:6:1 | ||
| | ||
LL | #[cfg(cloudabi)] | ||
| ^^^^^^--------^^ | ||
| | | ||
| help: try: `target_os = "cloudabi"` | ||
| | ||
= note: `-D clippy::mismatched-target-os` implied by `-D warnings` | ||
|
||
error: operating system used in target family position | ||
--> $DIR/mismatched_target_os_non_unix.rs:9:1 | ||
| | ||
LL | #[cfg(hermit)] | ||
| ^^^^^^------^^ | ||
| | | ||
| help: try: `target_os = "hermit"` | ||
| | ||
= note: `-D clippy::mismatched-target-os` implied by `-D warnings` | ||
|
||
error: operating system used in target family position | ||
--> $DIR/mismatched_target_os_non_unix.rs:12:1 | ||
--> $DIR/mismatched_target_os_non_unix.rs:9:1 | ||
| | ||
LL | #[cfg(wasi)] | ||
| ^^^^^^----^^ | ||
| | | ||
| help: try: `target_os = "wasi"` | ||
|
||
error: operating system used in target family position | ||
--> $DIR/mismatched_target_os_non_unix.rs:15:1 | ||
--> $DIR/mismatched_target_os_non_unix.rs:12:1 | ||
| | ||
LL | #[cfg(none)] | ||
| ^^^^^^----^^ | ||
| | | ||
| help: try: `target_os = "none"` | ||
|
||
error: operating system used in target family position | ||
--> $DIR/mismatched_target_os_non_unix.rs:19:1 | ||
| | ||
LL | #[cfg(all(not(any(windows, cloudabi)), wasi))] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
help: try | ||
| | ||
LL | #[cfg(all(not(any(windows, target_os = "cloudabi")), wasi))] | ||
| ^^^^^^^^^^^^^^^^^^^^^^ | ||
help: try | ||
--> $DIR/mismatched_target_os_non_unix.rs:16:1 | ||
| | ||
LL | #[cfg(all(not(any(windows, cloudabi)), target_os = "wasi"))] | ||
| ^^^^^^^^^^^^^^^^^^ | ||
LL | #[cfg(all(not(windows), wasi))] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^----^^^ | ||
| | | ||
| help: try: `target_os = "wasi"` | ||
|
||
error: aborting due to 5 previous errors | ||
error: aborting due to 4 previous errors | ||
|