Use the alloc_layout_extra feature for Layout::array::<T>

pull/103/head
Alexis Beingessner 6 years ago
parent 7a5aa3ab3a
commit f3fb7c9a8f

@ -3,6 +3,7 @@
```rust
#![feature(ptr_internals)]
#![feature(allocator_api)]
#![feature(alloc_layout_extra)]
use std::ptr::{Unique, NonNull, self};
use std::mem;

Loading…
Cancel
Save