]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #48500 - petrochenkov:parpat, r=nikomatsakis
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 1 Mar 2018 07:33:30 +0000 (23:33 -0800)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 1 Mar 2018 17:29:39 +0000 (09:29 -0800)
commit38f4d557d0c227230a580b328ded5c06a4a20509
treed4683ad20f74dc1fea918beeea98ea4e51303f84
parent39d5e1cba65be49248be82fcc3c965287a2a2cb1
parentc9aff92e6dc3ea43228d3d4e24ee7f5485943569
Rollup merge of #48500 - petrochenkov:parpat, r=nikomatsakis

Support parentheses in patterns under feature gate

This is a prerequisite for any other extensions to pattern syntax - `|` with multiple patterns, type ascription, `..PAT` in slice patterns.

Closes https://github.com/rust-lang/rfcs/issues/554
src/librustc/hir/lowering.rs
src/libsyntax/feature_gate.rs