]> git.lizzy.rs Git - rust.git/commitdiff
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)
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

1  2 
src/libsyntax/parse/parser.rs

Simple merge