Skip to content

Commit df611a6

Browse files
committed
added feature description to reference
1 parent 2859177 commit df611a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/reference.md

+3
Original file line numberDiff line numberDiff line change
@@ -2441,6 +2441,9 @@ The currently implemented features of the reference compiler are:
24412441
into a Rust program. This capability, especially the signature for the
24422442
annotated function, is subject to change.
24432443

2444+
* `static_in_const` - Enables lifetime elision with a `'static` default for
2445+
`const` and `static` item declarations.
2446+
24442447
* `thread_local` - The usage of the `#[thread_local]` attribute is experimental
24452448
and should be seen as unstable. This attribute is used to
24462449
declare a `static` as being unique per-thread leveraging

0 commit comments

Comments
 (0)