diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 18:18:00 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-11 09:11:40 -0700 |
| commit | 531ed3d599000de2517cba102c83fe44a1f1e252 (patch) | |
| tree | f6da0ce70539e996d6a533f78e699ab1434a9ede /src/libsyntax/parse/mod.rs | |
| parent | ea41101b3522f2a7d121758be489404cbb0fde5a (diff) | |
| download | rust-531ed3d599000de2517cba102c83fe44a1f1e252.tar.gz rust-531ed3d599000de2517cba102c83fe44a1f1e252.zip | |
rustc: Update how Gc<T> is recognized
This commit uses the same trick as ~/Box to map Gc<T> to @T internally inside the compiler. This moves a number of implementations of traits to the `gc` module in the standard library. This removes functions such as `Gc::new`, `Gc::borrow`, and `Gc::ptr_eq` in favor of the more modern equivalents, `box(GC)`, `Deref`, and pointer equality. The Gc pointer itself should be much more useful now, and subsequent commits will move the compiler away from @T towards Gc<T> [breaking-change]
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
0 files changed, 0 insertions, 0 deletions
