Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify discussion of macros and namspaces #1585

Closed
wants to merge 1 commit into from

Conversation

jnqnfe
Copy link
Contributor

@jnqnfe jnqnfe commented Oct 19, 2018

The existing text was rather unclear, for instance it might mislead a
person into the false understanding that ALL macros within a crate are
exported, regardless of export attribute (which is not mentioned).

If the text is going to make references to namespace differences
compared to functions and bringing them into scope and such, we might as
well have something clear and truly informative.

@jnqnfe
Copy link
Contributor Author

jnqnfe commented Oct 20, 2018

Updated, travis failed due to accidentally having lost ignore in example

The existing text was rather unclear, for instance it might mislead a
person into the false understanding that ALL macros within a crate are
exported, regardless of export attribute (which is not mentioned).

If the text is going to make references to namespace differences
compared to functions and bringing them into scope and such, we might as
well have something clear and truly informative.
@carols10cents
Copy link
Member

Thank you for your work! However, Rust 1.30 has changed the way macros are exported and imported, so this section needs to be redone in light of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants