Feature-gate associated constants.

This commit is contained in:
Sean Patrick Santos 2015-03-26 13:06:26 -06:00
parent 29eb550ee6
commit b1db4ec3d0
23 changed files with 95 additions and 1 deletions

View file

@ -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.