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

Tweak type mismatch caused by break on tail expr #66101

Merged
merged 1 commit into from
Nov 6, 2019

Commits on Nov 5, 2019

  1. Tweak type mismatch caused by break on tail expr

    When `break;` has a type mismatch because the `Destination` points at a tail
    expression with an obligation flowing from a return type, point at the
    return type.
    
    Fix rust-lang#39968.
    estebank committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    b0f258b View commit details
    Browse the repository at this point in the history