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

#[proc_macro] and #[proc_macro_attribute] can silently accept a value with = #52273

Closed
petrochenkov opened this issue Jul 11, 2018 · 0 comments
Closed
Labels
A-macros-1.2 Area: Declarative macros 1.2 E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@petrochenkov
Copy link
Contributor

For example, #[proc_macro = "abc"] and #[proc_macro_attribute = "def"].

@petrochenkov petrochenkov added A-macros-1.2 Area: Declarative macros 1.2 E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. labels Jul 11, 2018
alexcrichton added a commit to alexcrichton/rust that referenced this issue Jul 11, 2018
... and perform the same verification for #[proc_macro_attribute], currently
neither of these attributes take any arguments.

Closes rust-lang#52273
kennytm added a commit to kennytm/rust that referenced this issue Jul 12, 2018
…tr, r=petrochenkov

rustc: Verify #[proc_macro] is only a word

... and perform the same verification for #[proc_macro_attribute], currently
neither of these attributes take any arguments.

Closes rust-lang#52273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macros-1.2 Area: Declarative macros 1.2 E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

1 participant