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

Match binding is assignment #12508

Closed
wants to merge 1 commit into from
Closed

Commits on Feb 24, 2014

  1. Match binding is assignment

    In its first pass, namely gather_loans, the borrow checker tracks the
    initialization sites among other things it does. It does so for let
    bindings with initializers but not for bindings in match arms, which are
    effectively also assignments. This patch does that for borrow checker.
    
    Closes rust-lang#12452.
    edwardw committed Feb 24, 2014
    Configuration menu
    Copy the full SHA
    ffb315f View commit details
    Browse the repository at this point in the history