Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the AST from @T to Gc<T>, improve Gc<T> #14250

Merged
merged 3 commits into from
Jun 11, 2014
Merged

Commits on Jun 11, 2014

  1. 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]
    alexcrichton committed Jun 11, 2014
    Configuration menu
    Copy the full SHA
    531ed3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53ad426 View commit details
    Browse the repository at this point in the history
  3. 5 Configuration menu
    Copy the full SHA
    54c2a1e View commit details
    Browse the repository at this point in the history