-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify errors and warnings about the transition to the new asm!
- Loading branch information
Showing
9 changed files
with
21 additions
and
12 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,18 +1,24 @@ | ||
error: legacy asm! syntax is no longer supported | ||
error: the legacy LLVM-style asm! syntax is no longer supported | ||
--> $DIR/rustfix-asm.rs:10:9 | ||
| | ||
LL | asm!("" :: "r" (x)); | ||
| ----^^^^^^^^^^^^^^^^ | ||
| | | ||
| help: replace with: `llvm_asm!` | ||
| | ||
= note: consider migrating to the new asm! syntax specified in RFC 2873 | ||
= note: alternatively, switch to llvm_asm! to keep your code working as it is | ||
|
||
error: legacy asm! syntax is no longer supported | ||
error: the legacy LLVM-style asm! syntax is no longer supported | ||
--> $DIR/rustfix-asm.rs:12:9 | ||
| | ||
LL | asm!("" : "=r" (y)); | ||
| ----^^^^^^^^^^^^^^^^ | ||
| | | ||
| help: replace with: `llvm_asm!` | ||
| | ||
= note: consider migrating to the new asm! syntax specified in RFC 2873 | ||
= note: alternatively, switch to llvm_asm! to keep your code working as it is | ||
|
||
error: aborting due to 2 previous errors | ||
|
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