diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2015-11-24 14:56:20 +0100 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2015-11-26 21:47:44 +0100 |
| commit | 296c3613ca7ed1117788f4e56259d2e426e992d7 (patch) | |
| tree | 25125bcebe6195c2b1ae6509ef4586bf77fddcd9 /src/doc/reference.md | |
| parent | c56b47ab8cd2906e30960f05d51855f9f7f5255b (diff) | |
| download | rust-296c3613ca7ed1117788f4e56259d2e426e992d7.tar.gz rust-296c3613ca7ed1117788f4e56259d2e426e992d7.zip | |
Added stmt_expr_attribute feature gate
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 80194ea27bf..98074f09441 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2368,6 +2368,9 @@ The currently implemented features of the reference compiler are: influence type inference. * - `braced_empty_structs` - Allows use of empty structs and enum variants with braces. +* - `stmt_expr_attributes` - Allows attributes on expressions and + non-item statements. + If a feature is promoted to a language feature, then all existing programs will start to receive compilation warnings about `#![feature]` directives which enabled the new feature (because the directive is no longer necessary). However, if a |
