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

std: Move the owned module from core to std #14184

Closed
wants to merge 1 commit into from

Commits on May 13, 2014

  1. std: Move the owned module from core to std

    The compiler was updated to recognize that implementations for ty_uniq(..) are
    allowed if the Box lang item is located in the current crate. This enforces the
    idea that libcore cannot allocated, and moves all related trait implementations
    from libcore to libstd.
    
    This is a breaking change in that the AnyOwnExt trait has moved from the any
    module to the owned module. Any previous users of std::any::AnyOwnExt should now
    use std::owned::AnyOwnExt instead. This was done because the trait is intended
    for Box traits and only Box traits.
    
    [breaking-change]
    alexcrichton committed May 13, 2014
    Configuration menu
    Copy the full SHA
    8dae0a1 View commit details
    Browse the repository at this point in the history