-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.

Description
It would be nice to be able to write
condition! {
foo: int -> ~str;
bar: char -> bool;
}
instead of
condition! { foo: int -> ~str; }
condition! { bar: char -> bool; }
for modules that define a number of conditions.
This should only require a small change to libsyntax/ext/expand.rs
once macros are capable of expanding to multiple items, per #4021 and #3086.
Metadata
Metadata
Assignees
Labels
A-syntaxextArea: Syntax extensionsArea: Syntax extensionsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.