diff options
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 1aaea192162..3fe11802944 100644 --- a/src/libcoretest/iter.rs +++ b/src/libcoretest/iter.rs @@ -528,9 +528,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 { |
