File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5353 (i.e., it must not be read from uninitialized memory).
5454 * Non-UTF-8 byte sequences in a ` str ` .
5555 * Invalid values for a type with a custom definition of invalid values.
56+ In the standard library, this affects [ ` NonNull<T> ` ] and [ ` NonZero* ` ] .
5657
57- > ** Note** : For ` rustc ` , those types are [ ` NonNull<T> ` ] and [ ` NonZero* ` ] .
58- > Requesting custom invalid values requires the unstable ` rustc_layout_scalar_valid_range_* ` attributes.
58+ > ** Note** : For ` rustc ` , requesting custom invalid values requires the
59+ > unstable ` rustc_layout_scalar_valid_range_* ` attributes.
5960
6061A reference/pointer is "dangling" if it is null or not all of the bytes it
6162points to are part of the same allocation (so in particular they all have to be
You can’t perform that action at this time.
0 commit comments