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

pub macros #23

Open
swfsql opened this issue Nov 1, 2021 · 0 comments
Open

pub macros #23

swfsql opened this issue Nov 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@swfsql
Copy link

swfsql commented Nov 1, 2021

It's better to have macros being accessed by requiring their full module path, since this allows to avoid naming collision (they could all have the same name) and is more hygienic - instead of all macros being at the root of the crate. That is, the macros should be "usual items", that could be pub etc.

#![feature(pub_macro_rules)] seems to be interrupted, but it should be tracked.
Tracking issue for this feature: rust-lang/rust#78855

@swfsql swfsql added the enhancement New feature or request label Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant