Closed
Description
The current definition of layout (https://github.com/rust-lang/unsafe-code-guidelines/blob/master/reference/src/glossary.md#layout) does not consider "niches" part of the type layout.
In this thread (#120 (comment)) it was argued that maybe we might want to change that and make them part of the layout of a type.
If we do that, we need to change the glossary, and distinguish that &mut T
and *mut T
don't have the same layout, because they don't have the same "niches".
cc @eddyb