]> git.lizzy.rs Git - rust.git/commit
or-patterns: adjust lowering of `ast::Arm` & `ast::ExprKind::Let`.
authorMazdak Farrokhzad <twingoow@gmail.com>
Wed, 28 Aug 2019 04:45:54 +0000 (06:45 +0200)
committerMazdak Farrokhzad <twingoow@gmail.com>
Thu, 5 Sep 2019 06:33:09 +0000 (08:33 +0200)
commitd8ef907886e34fe314f1aacc342c4a49cb34ad6a
tree238d67525a6a8ed549616e6a4bd124d636bcb2ef
parent3fccbac4d3810534b41d325f2dc132417d3e0d57
or-patterns: adjust lowering of `ast::Arm` & `ast::ExprKind::Let`.

Introduces a temporary hack to keep `Vec<P<Pat>>` in
`hir::Arm.pats` so that we keep the changes more incremental.
src/librustc/hir/lowering.rs
src/librustc/hir/lowering/expr.rs