diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-10-02 08:10:09 +0300 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-10-02 17:02:15 +0300 |
| commit | 58bea31ca0e11bf49439d33e1d21f11de7161567 (patch) | |
| tree | aff1807b2eab123a85d5fdc66076048a1719c07d /src/libcoretest | |
| parent | aa59693565efea3d55a6981b135df77c37c361fc (diff) | |
| download | rust-58bea31ca0e11bf49439d33e1d21f11de7161567.tar.gz rust-58bea31ca0e11bf49439d33e1d21f11de7161567.zip | |
tests: remove uses of Gc.
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/iter.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libcoretest/iter.rs b/src/libcoretest/iter.rs index e84c8947967..9e47142478e 100644 --- a/src/libcoretest/iter.rs +++ b/src/libcoretest/iter.rs @@ -529,9 +529,8 @@ fn test_rposition() { #[test] #[should_fail] fn test_rposition_fail() { - use std::gc::GC; - let v = [(box 0i, box(GC) 0i), (box 0i, box(GC) 0i), - (box 0i, box(GC) 0i), (box 0i, box(GC) 0i)]; + let v = [(box 0i, box 0i), (box 0i, box 0i), + (box 0i, box 0i), (box 0i, box 0i)]; let mut i = 0i; v.iter().rposition(|_elt| { if i == 2 { |
