diff options
| author | Alexander Regueiro <alexreg@me.com> | 2018-12-03 21:50:49 +0000 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2018-12-26 21:27:08 +0000 |
| commit | c77fdbf2ebfa6a2f17017c38eebf18b4a802336a (patch) | |
| tree | 38ec1d72f31fa698cd4f2e383425d1797d204ec0 /src/libsyntax | |
| parent | 1b150c4043654f93fcf7250b560581d44fc2b43d (diff) | |
| download | rust-c77fdbf2ebfa6a2f17017c38eebf18b4a802336a.tar.gz rust-c77fdbf2ebfa6a2f17017c38eebf18b4a802336a.zip | |
Implemented variants on type aliases in both ctor and pattern position.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 62269a8f163..6a3b2156f3a 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -471,11 +471,14 @@ declare_features! ( // Allows `const _: TYPE = VALUE`. (active, underscore_const_names, "1.31.0", Some(54912), None), - // `reason = ` in lint attributes and `expect` lint attribute + // Adds `reason` and `expect` lint attributes. (active, lint_reasons, "1.31.0", Some(54503), None), // `extern crate self as foo;` puts local crate root into extern prelude under name `foo`. (active, extern_crate_self, "1.31.0", Some(56409), None), + + // Allows paths to enum variants on type aliases. + (active, type_alias_enum_variants, "1.31.0", Some(49683), None), ); declare_features! ( |
