1
Fork 0

tests: remove uses of Gc.

This commit is contained in:
Eduard Burtescu 2014-10-02 08:10:09 +03:00
parent aa59693565
commit 58bea31ca0
206 changed files with 322 additions and 3702 deletions

View file

@ -11,7 +11,6 @@
// Verifies all possible restrictions for static items values.
use std::kinds::marker;
use std::gc::{Gc, GC};
struct WithDtor;
@ -124,9 +123,6 @@ static STATIC16: (&'static Box<MyOwned>, &'static Box<MyOwned>) =
static mut STATIC17: SafeEnum = Variant1;
//~^ ERROR mutable static items are not allowed to have destructors
static STATIC18: Gc<SafeStruct> = box(GC) SafeStruct{field1: Variant1, field2: Variant2(0)};
//~^ ERROR static items are not allowed to have custom pointers
static STATIC19: Box<int> = box 3;
//~^ ERROR static items are not allowed to have custom pointers