diff options
| author | Pascal Hertleif <pascal@technocreatives.com> | 2019-08-24 17:50:21 +0200 |
|---|---|---|
| committer | Pascal Hertleif <pascal@technocreatives.com> | 2019-08-25 11:07:16 +0200 |
| commit | c9d9616e825fecd4301beaf7bcd9115d5d7d393f (patch) | |
| tree | b467b634be48058b9a492b5a9df202a15b7e6bd5 /src/libsyntax/parse/parser | |
| parent | c9619a4202bd013f1be2776c328937ddd643e7b7 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
