From: bors Date: Mon, 27 Mar 2017 05:28:32 +0000 (+0000) Subject: Auto merge of #40764 - arielb1:range-nodes, r=eddyb X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=ccce2c6eb914a66571f60fa0afe8a46faa9fb3bd;p=rust.git Auto merge of #40764 - arielb1:range-nodes, r=eddyb 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 #40749. r? @eddyb beta-nominating because regression --- ccce2c6eb914a66571f60fa0afe8a46faa9fb3bd