]> git.lizzy.rs Git - rust.git/commit
Add `box_patterns` feature gate.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 10 Feb 2015 21:49:56 +0000 (22:49 +0100)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Wed, 11 Feb 2015 10:47:05 +0000 (11:47 +0100)
commit105f70b50097a5776ef0d1a6da6753c25d191aa6
tree95233cee7a1184b9c5212e5004b1c178cb3933dc
parent5936278ed6bef736f6eb8c0dd4d650fd8e10461b
Add `box_patterns` feature gate.

Switch feature-gate checker from `box_syntax` to `box_patterns` when
visiting a pattern.

(Having to opt into both `box_syntax` and `box_patterns` seemed
unnecessary.)

[breaking-change]
src/libsyntax/feature_gate.rs