rust/library/core/src/alloc
Jacob Pratt 3f14f4b3ce
Use #[non_exhaustive] where appropriate
Due to the std/alloc split, it is not possible to make
`alloc::collections::TryReserveError::AllocError` non-exhaustive without
having an unstable, doc-hidden method to construct (which negates the
benefits from `#[non_exhaustive]`.
2021-06-24 04:16:11 -04:00
..
global.rs Try to clarify GlobalAlloc::realloc documentation comment. 2021-02-28 14:30:26 +01:00
layout.rs Use #[non_exhaustive] where appropriate 2021-06-24 04:16:11 -04:00
mod.rs Rollup merge of #81767 - exrook:layout-error-stability, r=Mark-Simulacrum 2021-02-05 12:26:07 +01:00