From: bors Date: Mon, 2 Jan 2017 13:51:43 +0000 (+0000) Subject: Auto merge of #38766 - eddyb:less-fake-hir, r=arielb1 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=df61658c8afc8b24800f5437e0000a99d04ea2b0;p=rust.git Auto merge of #38766 - eddyb:less-fake-hir, r=arielb1 Stop creating fake HIR pattern nodes. This replaces all the HIR patterns `rustc_const_eval` creates with the more appropriate HAIR equivalent. The only place left that creates HIR nodes is the "explicit lifetimes in function signature" suggestion, which only creates type nodes while rebuilding the signature, but that is only in case of an error. cc @arielb1 --- df61658c8afc8b24800f5437e0000a99d04ea2b0