list more ptr offset computations

pull/158/head
Ralf Jung 5 years ago committed by Alexis Beingessner
parent 12b34a6570
commit 423f6b926d

@ -17,8 +17,8 @@ Unlike C, Undefined Behavior is pretty limited in scope in Rust. All the core
language cares about is preventing the following things:
* Dereferencing null, dangling, or unaligned references or raw pointers
* Performing out-of-bounds arithmetic for the computation of a struct/tuple
field address
* Performing out-of-bounds arithmetic for the computation of an
`enum`/`struct`/array/slice/tuple field address
* Reading [uninitialized memory][]
* Breaking the [pointer aliasing rules][]
* Producing/obtaining invalid primitive values:

Loading…
Cancel
Save