Feature-gate associated constants.
This commit is contained in:
parent
29eb550ee6
commit
b1db4ec3d0
23 changed files with 95 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue