diff options
| author | bors <bors@rust-lang.org> | 2014-06-14 17:51:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-14 17:51:49 +0000 |
| commit | 6d8342f5e9f7093694548e761ee7df4f55243f3f (patch) | |
| tree | 64606dac9c81ec4567e19f503d4d82e249dbf40a /src/test/debuginfo/managed-pointer-within-unique-vec.rs | |
| parent | d64f18c490981f33f33e9c24e1ed1316e63f11fc (diff) | |
| parent | ade807c6dcf6dc4454732c5e914ca06ebb429773 (diff) | |
auto merge of #14835 : alexcrichton/rust/no-more-at, r=brson
All functionality is now available through `Gc<T>` and `box(GC) expr`. This change also removes `GC` from the prelude (it's an experimental feature).
Diffstat (limited to 'src/test/debuginfo/managed-pointer-within-unique-vec.rs')
| -rw-r--r-- | src/test/debuginfo/managed-pointer-within-unique-vec.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/debuginfo/managed-pointer-within-unique-vec.rs b/src/test/debuginfo/managed-pointer-within-unique-vec.rs index a2a0d171898..d1f38be1d89 100644 --- a/src/test/debuginfo/managed-pointer-within-unique-vec.rs +++ b/src/test/debuginfo/managed-pointer-within-unique-vec.rs @@ -31,9 +31,11 @@ #![allow(unused_variable)] +use std::gc::{Gc, GC}; + fn main() { - let unique: Vec<@i64> = vec!(@10, @11, @12, @13); + let unique: Vec<Gc<i64>> = vec!(box(GC) 10, box(GC) 11, box(GC) 12, box(GC) 13); zzz(); } |
