]> git.lizzy.rs Git - rust.git/commit
Auto merge of #46895 - ricochet1k:macro-lifetimes, r=jseyfried
authorbors <bors@rust-lang.org>
Mon, 1 Jan 2018 07:21:23 +0000 (07:21 +0000)
committerbors <bors@rust-lang.org>
Mon, 1 Jan 2018 07:21:23 +0000 (07:21 +0000)
commit1bcc6dc7ea430b7d403a57f60e48b3c3cdfcf562
tree2073115c9aa906116a5698340385e1aacfca21b4
parentf3ca88cff7dc397f409f561321ee3c4021c05436
parent8b4bdc2f3f753e0d0b00ecc892a813e9786621e9
Auto merge of #46895 - ricochet1k:macro-lifetimes, r=jseyfried

Allow lifetimes in macros

This is a resurrection of PR #41927 which was a resurrection of #33135, which is intended to fix #34303.

In short, this allows macros_rules! to use :lifetime as a matcher to match 'lifetimes.

Still to do:
- [x]  Feature gate
src/libsyntax/parse/parser.rs