diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-12-11 22:29:24 -0500 |
|---|---|---|
| committer | Luqman Aden <laden@csclub.uwaterloo.ca> | 2014-12-28 19:40:48 -0500 |
| commit | b44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2 (patch) | |
| tree | 8b635a7045b5a8c0a153738a665b43a7107d6aa1 /src/test | |
| parent | e83272b62883f97b8717a8150d894e89d7ae18d6 (diff) | |
| download | rust-b44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2.tar.gz rust-b44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2.zip | |
Don't expose NonZero through libstd.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/enum-null-pointer-opt.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/run-pass/enum-null-pointer-opt.rs b/src/test/run-pass/enum-null-pointer-opt.rs index f0e34f0dc4b..d8d74c8bb45 100644 --- a/src/test/run-pass/enum-null-pointer-opt.rs +++ b/src/test/run-pass/enum-null-pointer-opt.rs @@ -9,8 +9,10 @@ // except according to those terms. +extern crate core; + +use core::nonzero::NonZero; use std::mem::size_of; -use std::ptr::NonZero; use std::rc::Rc; use std::sync::Arc; |
