about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndre Bogus <bogusandre@gmail.com>2016-09-08 07:34:41 +0200
committerAndre Bogus <bogusandre@gmail.com>2016-09-08 07:34:41 +0200
commitdf611a62bb4407373bea42d2fb623e6579972521 (patch)
tree37319c0271fc2c19cdfdf23661cafc7d80669328
parent2859177ea0f36863672e05b8be044b4c94cfd8f1 (diff)
downloadrust-df611a62bb4407373bea42d2fb623e6579972521.tar.gz
rust-df611a62bb4407373bea42d2fb623e6579972521.zip
added feature description to reference
-rw-r--r--src/doc/reference.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index f29cdf6b080..b72c3743a69 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2441,6 +2441,9 @@ The currently implemented features of the reference compiler are:
             into a Rust program. This capability, especially the signature for the
             annotated function, is subject to change.
 
+* `static_in_const` - Enables lifetime elision with a `'static` default for
+                      `const` and `static` item declarations.
+
 * `thread_local` - The usage of the `#[thread_local]` attribute is experimental
                    and should be seen as unstable. This attribute is used to
                    declare a `static` as being unique per-thread leveraging