diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-10-02 22:41:24 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-10-13 15:19:20 +0300 |
| commit | 8a12c19171887ea6d7ff708db2e2581ceaf16c14 (patch) | |
| tree | 2ff02dad84730da28dc96d487d96a442350ee320 /src/doc/reference.md | |
| parent | beda1f88a7d87cf994fe8e3a5b2fe126e31fcae9 (diff) | |
| download | rust-8a12c19171887ea6d7ff708db2e2581ceaf16c14.tar.gz rust-8a12c19171887ea6d7ff708db2e2581ceaf16c14.zip | |
Test and gate empty structures and variants better
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 9ce191ee589..8b4e94063f9 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2357,7 +2357,7 @@ The currently implemented features of the reference compiler are: terms of encapsulation). * - `default_type_parameter_fallback` - Allows type parameter defaults to influence type inference. -* - `braced_empty_structs` - Allows use of empty structs with braces. +* - `braced_empty_structs` - Allows use of empty structs and enum variants with braces. If a feature is promoted to a language feature, then all existing programs will start to receive compilation warnings about `#![feature]` directives which enabled |
