about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-12-22 19:12:22 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-01-20 10:55:16 +0100
commitfb03a49c2501c52401b3c987fd455818de1736f2 (patch)
treef8837bc6ac6935858714c8ad6fd1be55398a9242 /src/test
parentf19baf0977b176ba26277af479a19b71b7ee1fdb (diff)
downloadrust-fb03a49c2501c52401b3c987fd455818de1736f2.tar.gz
rust-fb03a49c2501c52401b3c987fd455818de1736f2.zip
Replace Unique<T> with NonZero<T> in Alloc trait
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/allocator-alloc-one.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/allocator-alloc-one.rs b/src/test/run-pass/allocator-alloc-one.rs
index 712fa2d6001..eaa5bc90805 100644
--- a/src/test/run-pass/allocator-alloc-one.rs
+++ b/src/test/run-pass/allocator-alloc-one.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(allocator_api, unique)]
+#![feature(allocator_api, nonnull)]
 
 use std::heap::{Heap, Alloc};