[PATCH 6.12 031/269] rust: alloc: add `Allocator` trait