alloc: fix deprecated warnings

This commit is contained in:
Jorge Aparicio
2018-08-19 21:56:49 +02:00
committed by Ralf Jung
parent 25a75a4d86
commit aeea992fa2
2 changed files with 21 additions and 20 deletions

View File

@@ -119,6 +119,7 @@
#![feature(rustc_const_unstable)]
#![feature(const_vec_new)]
#![feature(slice_partition_dedup)]
#![feature(maybe_uninit)]
// Allow testing this library