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

The ordinary lowering of thir::ExprKind::Let is unreachable #121892

Merged
merged 1 commit into from Mar 2, 2024

Commits on Mar 2, 2024

  1. The ordinary lowering of thir::ExprKind::Let is unreachable

    After desugaring, `let` expressions should only appear inside `if` expressions
    or `match` guards, possibly nested within a let-chain. In both cases they are
    specifically handled by the lowerings of those expressions, so this case is
    currently unreachable.
    Zalathar committed Mar 2, 2024
    Copy the full SHA
    972d8da View commit details
    Browse the repository at this point in the history