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

keep the AST node-id when lowering ExprKind::Range #40764

Merged
merged 1 commit into from
Mar 27, 2017

Commits on Mar 23, 2017

  1. keep the AST node-id when lowering ExprKind::Range

    When the Range expression is the root of a constant, its node-id is
    used for the def-id of the body, so it has to be preserved in the AST ->
    HIR lowering.
    
    Fixes rust-lang#40749.
    arielb1 committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    8ffe406 View commit details
    Browse the repository at this point in the history