diff options
| author | Sean Patrick Santos <SeanPatrickSantos@gmail.com> | 2015-03-26 13:06:26 -0600 |
|---|---|---|
| committer | Sean Patrick Santos <SeanPatrickSantos@gmail.com> | 2015-04-23 21:02:29 -0600 |
| commit | b1db4ec3d0a96a1e83d74fbc7f99dc3be054f4d8 (patch) | |
| tree | b716e5a1dace81b0758069179b2fbd3e283f37db /src/doc/reference.md | |
| parent | 29eb550ee6a9fd6961bb00e2680a5735aab95de1 (diff) | |
| download | rust-b1db4ec3d0a96a1e83d74fbc7f99dc3be054f4d8.tar.gz rust-b1db4ec3d0a96a1e83d74fbc7f99dc3be054f4d8.zip | |
Feature-gate associated constants.
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index d918a320e63..2acd491c657 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2340,7 +2340,10 @@ The currently implemented features of the reference compiler are: semantics are likely to change, so this macro usage must be opted into. -* `associated_types` - Allows type aliases in traits. Experimental. +* `associated_consts` - Allows constants to be defined in `impl` and `trait` + blocks, so that they can be associated with a type or + trait in a similar manner to methods and associated + types. * `box_patterns` - Allows `box` patterns, the exact semantics of which is subject to change. |
