diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-06-11 19:33:52 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-14 10:45:37 -0700 |
| commit | ade807c6dcf6dc4454732c5e914ca06ebb429773 (patch) | |
| tree | 64606dac9c81ec4567e19f503d4d82e249dbf40a /src/test/bench | |
| parent | f20b1293fcce4e120bd4a57226e0817271cd672c (diff) | |
| download | rust-ade807c6dcf6dc4454732c5e914ca06ebb429773.tar.gz rust-ade807c6dcf6dc4454732c5e914ca06ebb429773.zip | |
rustc: Obsolete the `@` syntax entirely
This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change]
Diffstat (limited to 'src/test/bench')
| -rw-r--r-- | src/test/bench/task-perf-alloc-unwind.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/bench/task-perf-alloc-unwind.rs b/src/test/bench/task-perf-alloc-unwind.rs index 7baa500ee0d..037a326880f 100644 --- a/src/test/bench/task-perf-alloc-unwind.rs +++ b/src/test/bench/task-perf-alloc-unwind.rs @@ -17,7 +17,7 @@ use time::precise_time_s; use std::os; use std::task; use std::vec; -use std::gc::Gc; +use std::gc::{Gc, GC}; #[deriving(Clone)] enum List<T> { @@ -53,10 +53,10 @@ type nillist = List<()>; // Filled with things that have to be unwound struct State { - managed: @nillist, + managed: Gc<nillist>, unique: Box<nillist>, - tuple: (@nillist, Box<nillist>), - vec: Vec<@nillist>, + tuple: (Gc<nillist>, Box<nillist>), + vec: Vec<Gc<nillist>>, res: r } |
