tests: remove uses of Gc.
This commit is contained in:
@@ -541,14 +541,6 @@ mod tests {
|
||||
assert!(y.upgrade().is_none());
|
||||
}
|
||||
|
||||
#[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 {
|
||||
|
||||
Reference in New Issue
Block a user