Add links to the reference and rust by example for asm! docs and lints
This commit is contained in:
parent
2f1a12f8b7
commit
5eb6fff824
5 changed files with 56 additions and 0 deletions
|
@ -2456,6 +2456,10 @@ declare_lint! {
|
|||
/// register size, to alert you of possibly using the incorrect width. To
|
||||
/// fix this, add the suggested modifier to the template, or cast the
|
||||
/// value to the correct size.
|
||||
///
|
||||
/// See [register template modifiers] in the reference for more details.
|
||||
///
|
||||
/// [register template modifiers]: https://doc.rust-lang.org/nightly/reference/inline-assembly.html#template-modifiers
|
||||
pub ASM_SUB_REGISTER,
|
||||
Warn,
|
||||
"using only a subset of a register for inline asm inputs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue