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

On type error involving closure, avoid ICE #116676

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Commits on Oct 12, 2023

  1. On type error involving closure, avoid ICE

    When we encounter a type error involving a closure, we try to typeck
    prior closure invocations to see if they influenced the current expected
    type. When trying to do so, ensure that the closure was defined in our
    current scope.
    
    Fix rust-lang#116658.
    estebank committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    e761875 View commit details
    Browse the repository at this point in the history