-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
A-control-flowProposals relating to control flow.Proposals relating to control flow.A-macrosMacro related proposals and issuesMacro related proposals and issuesA-patternsPattern matching related proposals & ideasPattern matching related proposals & ideasA-syntaxSyntax related proposals & ideasSyntax related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.
Description
Sorry if there's already and issue for this, but I couldn't find one.
On many occasions I've wanted to use macros to generate match
branches. eg.
match x {
macro_which_outputs_some_branches!(),
Foo::Bar => 23,
}
Is there a reason not to support this?
Ten0, danii, akoptelov, crumblingstatue, PatchMixolydic and 2 more
Metadata
Metadata
Assignees
Labels
A-control-flowProposals relating to control flow.Proposals relating to control flow.A-macrosMacro related proposals and issuesMacro related proposals and issuesA-patternsPattern matching related proposals & ideasPattern matching related proposals & ideasA-syntaxSyntax related proposals & ideasSyntax related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.