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

librustc: Eliminate the ref syntax for unboxed closure capture clauses #17519

Merged
merged 1 commit into from
Sep 29, 2014

Commits on Sep 26, 2014

  1. librustc: Eliminate the ref syntax for unboxed closure capture clauses

    in favor of `move`.
    
    This breaks code that used `move` as an identifier, because it is now a
    keyword. Change such identifiers to not use the keyword `move`.
    Additionally, this breaks code that was counting on by-value or
    by-reference capture semantics for unboxed closures (behind the feature
    gate). Change `ref |:|` to `|:|` and `|:|` to `move |:|`.
    
    Part of RFC rust-lang#63; part of issue rust-lang#12831.
    
    [breaking-change]
    pcwalton committed Sep 26, 2014
    8 Configuration menu
    Copy the full SHA
    2257e23 View commit details
    Browse the repository at this point in the history