File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 23
23
</div >
24
24
25
25
* Data races.
26
- * Evaluating a dereference [ place expression] (` *expr ` ) on a raw pointer that is
27
- [ dangling] or unaligned.
26
+ * Evaluating a [ dereference expression] (` *expr ` ) on a raw pointer that is
27
+ [ dangling] or unaligned, even in [ place expression context]
28
+ (e.g. ` addr_of!(&*expr) ` ).
28
29
* Breaking the [ pointer aliasing rules] . ` &mut T ` and ` &T ` follow LLVM’s scoped
29
30
[ noalias] model, except if the ` &T ` contains an [ ` UnsafeCell<U> ` ] .
30
31
* Mutating immutable data. All data inside a [ ` const ` ] item is immutable. Moreover, all
@@ -91,4 +92,5 @@ cannot be bigger than `isize::MAX` bytes.
91
92
[ Rustonomicon ] : ../nomicon/index.html
92
93
[ `NonNull<T>` ] : ../core/ptr/struct.NonNull.html
93
94
[ `NonZero*` ] : ../core/num/index.html
94
- [ place expression ] : expressions.md#place-expressions-and-value-expressions
95
+ [ dereference expression ] : expressions/operator-expr.md#the-dereference-operator
96
+ [ place expression context ] : expressions.md#place-expressions-and-value-expressions
You can’t perform that action at this time.
0 commit comments