We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5f793 commit 9dc1c16Copy full SHA for 9dc1c16
src/behavior-considered-undefined.md
@@ -58,6 +58,8 @@ code.
58
59
> **Note**: `rustc` achieves this with the unstable
60
> `rustc_layout_scalar_valid_range_*` attributes.
61
+* Incorrect use of inline assembly. For more details, refer to the [rules] to
62
+ follow when writing code that uses inline assembly.
63
64
**Note:** Uninitialized memory is also implicitly invalid for any type that has
65
a restricted set of valid values. In other words, the only cases in which
@@ -94,3 +96,4 @@ cannot be bigger than `isize::MAX` bytes.
94
96
[`NonZero*`]: ../core/num/index.html
95
97
[dereference expression]: expressions/operator-expr.md#the-dereference-operator
98
[place expression context]: expressions.md#place-expressions-and-value-expressions
99
+[rules]: inline-assembly.md#rules-for-inline-assembly
0 commit comments