Repository navigation
Tracking issue for adding a lifetime specifier to macro_rules! #34303
Description
Activity
I'll open a new PR soon, I want to do one more thing on top of #33135
Reacted by mitchmindtree, Stanko Krtalić and jjpe- addedB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.
on Jun 17, 2016 Godspeed, @sgrif! This being in nightly would make my week.
@sgrif Any update?
- addedB-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.
on Mar 1, 2017 This doesn't seem particularly hard. Help wanted.
I wish we knew what the "one more thing" was besides just reopening the closed PR.
I'd like to help implement this. Where do I start?
@mikeyhew
This is a good issue to start working on the compiler frontend.
You may want to start with taking @sgrif's patch and rebasing it on the current master, and then making sure the tests pass.
Then you'll have to add a feature gate forlifetimematcher and some docs (unstable book section) (see e0cd766, and 1d46805, and #41012 as a whole for examples of the same things being done withvismatcher.)I wish we knew what the "one more thing" was besides just reopening the closed PR.
This should be something truly marvelous, that this GitHub comment was too narrow to contain.
Reacted by Niko Matsakis, ~ and ilyazub- addedC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFC
on Jul 22, 2017 - added a commit that references this issue
on Jan 1, 2018 This issue should remain open until the feature is stable, right?
11 remaining items
@nikomatsakis please say "resolved" for the bot
@rfcbot resolved underscore-lifetime
Sigh.
Reacted by kennytm and Daniel Ly- addedfinal-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.In the final comment period and will be merged soon unless new substantive objections are raised.and removedproposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.Proposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
on Mar 20, 2018 🔔 This is now entering its final comment period, as per the review above. 🔔
The final comment period is now complete.
🚀 🚀 🚀 🚀 🚀
- added a commit that references this issue
on May 14, 2018 - addeddisposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.and removedfinal-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.In the final comment period and will be merged soon unless new substantive objections are raised.
on May 24, 2018 We don't have tests for a macro_rules falling through to the next rule after a $:lifetime matcher.
And it doesn't work. 😢 I filed #51477 to follow up.
I think we can close this as it was stabilized; bugs and other things can be tracked as we usually do.
cc rust-lang/rfcs#1590 @sgrif