diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-11-12 15:33:16 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-01-25 01:41:11 +0300 |
| commit | 5056a43752a34ec633fb71ff395f518bfc7ce52c (patch) | |
| tree | 2a1fb5201c6584a3e12029e1c1697a0863a9307d /src/libsyntax | |
| parent | 249b444efa356c252b264c56ba5041d70d0b9734 (diff) | |
| download | rust-5056a43752a34ec633fb71ff395f518bfc7ce52c.tar.gz rust-5056a43752a34ec633fb71ff395f518bfc7ce52c.zip | |
Stabilize Self and associated types in struct expressions and patterns
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index c25020caf85..b99300f6195 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -295,10 +295,6 @@ declare_features! ( // The #![windows_subsystem] attribute (active, windows_subsystem, "1.14.0", Some(37499)), - // Allows using `Self` and associated types in struct expressions and patterns. - (active, more_struct_aliases, "1.14.0", Some(37544)), - - // Allows #[link(..., cfg(..))] (active, link_cfg, "1.14.0", Some(37406)), @@ -378,6 +374,8 @@ declare_features! ( // Allows `..` in tuple (struct) patterns (accepted, dotdot_in_tuple_patterns, "1.14.0", Some(33627)), (accepted, item_like_imports, "1.14.0", Some(35120)), + // Allows using `Self` and associated types in struct expressions and patterns. + (accepted, more_struct_aliases, "1.14.0", Some(37544)), ); // (changing above list without updating src/doc/reference.md makes @cmr sad) |
