about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorPascal Hertleif <pascal@technocreatives.com>2019-08-24 17:50:21 +0200
committerPascal Hertleif <pascal@technocreatives.com>2019-08-25 11:07:16 +0200
commitc9d9616e825fecd4301beaf7bcd9115d5d7d393f (patch)
treeb467b634be48058b9a492b5a9df202a15b7e6bd5 /src/libsyntax/parse/parser/expr.rs
parentc9619a4202bd013f1be2776c328937ddd643e7b7 (diff)
downloadrust-c9d9616e825fecd4301beaf7bcd9115d5d7d393f.tar.gz
rust-c9d9616e825fecd4301beaf7bcd9115d5d7d393f.zip
Introduce and use `Feature` type for feature gates
This replaces the ad-hoc tuples used in the different feature gate files
and unifies their content into a common type, leading to more readable
matches and other good stuff that comes from having named fields. It
also contains the description of each feature as extracted from the doc
comment.
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions