fix #[cfg(test)] warnings

This commit is contained in:
Jorge Aparicio
2015-01-26 22:56:50 -05:00
parent 92ff8ea528
commit 57dd4ea78d
7 changed files with 5 additions and 11 deletions

View File

@@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#[cfg(not(test))]
use core::ptr::PtrExt;
// FIXME: #13996: mark the `allocate` and `reallocate` return value as `noalias`