diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2014-01-26 11:42:46 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2014-02-04 00:15:27 +0100 |
| commit | c6b1bce96f25e785d22e976d1cc41cabdae5ea73 (patch) | |
| tree | 7becccf629cd6737546e49325a6a8c8a4fd61c50 /src/libstd/option.rs | |
| parent | d42521aa92006a3378c535adec80ae2257bff083 (diff) | |
| download | rust-c6b1bce96f25e785d22e976d1cc41cabdae5ea73.tar.gz rust-c6b1bce96f25e785d22e976d1cc41cabdae5ea73.zip | |
Replace NonCopyable usage with NoPod
cc #10834
Diffstat (limited to 'src/libstd/option.rs')
| -rw-r--r-- | src/libstd/option.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/option.rs b/src/libstd/option.rs index 19478e3dbb3..39b516aeb12 100644 --- a/src/libstd/option.rs +++ b/src/libstd/option.rs @@ -481,6 +481,7 @@ mod tests { use iter::range; use str::StrSlice; use util; + use kinds::marker; use vec::ImmutableVector; #[test] @@ -551,7 +552,7 @@ mod tests { #[test] #[should_fail] fn test_option_too_much_dance() { - let mut y = Some(util::NonCopyable); + let mut y = Some(marker::NoPod); let _y2 = y.take_unwrap(); let _y3 = y.take_unwrap(); } |
