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/liballoc | |
| parent | aa59693565efea3d55a6981b135df77c37c361fc (diff) | |
| download | rust-58bea31ca0e11bf49439d33e1d21f11de7161567.tar.gz rust-58bea31ca0e11bf49439d33e1d21f11de7161567.zip | |
tests: remove uses of Gc.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/rc.rs | 8 |
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>>> |
