about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-05-20 20:48:29 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-05-26 21:28:07 +0200
commite7c468dc594c475b886280aa7e56779b279d0dbb (patch)
tree2518e1c879a543c48ba3dbd05eb4df219dc57599 /compiler/rustc_codegen_llvm/src
parent1851f0802e148bb7fa0bfd7dabcb7397bf371b0b (diff)
downloadrust-e7c468dc594c475b886280aa7e56779b279d0dbb.tar.gz
rust-e7c468dc594c475b886280aa7e56779b279d0dbb.zip
Document the current aliasing rules for `Box<T>`.
Currently, `Box<T>` gets `noalias`, meaning it has
the same rules as `&mut T`. This is
sparsely documented, even though it can have quite
a big impact on unsafe code using box. Therefore,
these rules are documented here, with a big warning
that they are not normative and subject to change,
since we have not yet committed to an aliasing model
and the state of `Box<T>` is especially uncertain.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions