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 upCalling a function within a module derived from concat_idents fails to resolve #8167
Comments
This comment has been minimized.
This comment has been minimized.
|
This is a dupe of #5941 and (implicitly) #12249. That is, as written, it's parsing as: mod barfoo {
fn foo() {}
}
fn main() {
concat_idents!(bar, foo);
::foo();
}Fixing this by writing
which is the similarity to #12249: can't use a macro in purely ident position. |
huonw
closed this
Feb 23, 2014
huonw
added
the
A-syntaxext
label
Feb 23, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jdm commentedJul 31, 2013