From 0f9c9b66bb43fee06ce01763cd9f3040a5a59981 Mon Sep 17 00:00:00 2001 From: Matt Peterson Date: Thu, 21 Dec 2017 15:35:26 -0500 Subject: [PATCH] Add an entry in the unstable book --- .../language-features/macro-lifetime-matcher.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/doc/unstable-book/src/language-features/macro-lifetime-matcher.md diff --git a/src/doc/unstable-book/src/language-features/macro-lifetime-matcher.md b/src/doc/unstable-book/src/language-features/macro-lifetime-matcher.md new file mode 100644 index 00000000000..5b585d7f041 --- /dev/null +++ b/src/doc/unstable-book/src/language-features/macro-lifetime-matcher.md @@ -0,0 +1,14 @@ +# `macro_lifetime_matcher` + +The tracking issue for this feature is: [#46895] + +With this feature gate enabled, the [list of fragment specifiers][frags] gains one more entry: + +* `lifetime`: a lifetime. Examples: 'static, 'a. + +A `lifetime` variable may be followed by anything. + +[#46895]: https://github.com/rust-lang/rust/issues/46895 +[frags]: ../book/first-edition/macros.html#syntactic-requirements + +------------------------