Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upGuideline for importing macro_rules! macros #68
Comments
dtolnay
referenced this issue
May 24, 2017
Closed
#[macro_use(info)] raise error: macro undefined: 'log!' #54
brson
added
the
important
label
Jun 30, 2017
dtolnay
added
the
new guideline
label
Sep 18, 2017
This comment has been minimized.
This comment has been minimized.
|
I no longer believe this guideline would be worthwhile. Macros 1.0 macro_rules are too much of a mess to push for this now. Let's just wait for macros 2.0 to fix this correctly. |
dtolnay
closed this
Oct 29, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alexcrichton commentedMay 19, 2017
Discussed during the
logevaluation, we should have a guideline that each macro is selectively importable via#[macro_use(foo)]. We'll want to document the caveats here (duplication) and some common solutions (deduplication via crate functions)