summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorEduard Burtescu <edy.burt@gmail.com>2014-10-02 08:10:09 +0300
committerEduard Burtescu <edy.burt@gmail.com>2014-10-02 17:02:15 +0300
commit58bea31ca0e11bf49439d33e1d21f11de7161567 (patch)
treeaff1807b2eab123a85d5fdc66076048a1719c07d /src/liballoc
parentaa59693565efea3d55a6981b135df77c37c361fc (diff)
downloadrust-58bea31ca0e11bf49439d33e1d21f11de7161567.tar.gz
rust-58bea31ca0e11bf49439d33e1d21f11de7161567.zip
tests: remove uses of Gc.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index ec19844a24a..049bf4eb1b0 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -542,14 +542,6 @@ mod tests {
     }
 
     #[test]
-    fn gc_inside() {
-        // see issue #11532
-        use std::gc::GC;
-        let a = Rc::new(RefCell::new(box(GC) 1i));
-        assert!(a.try_borrow_mut().is_some());
-    }
-
-    #[test]
     fn weak_self_cyclic() {
         struct Cycle {
             x: RefCell<Option<Weak<Cycle>>>