Skip to content

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

New issue

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

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

Already on GitHub? # to your account

Closed
petrochenkov opened this issue Jul 11, 2018 · 0 comments
Closed
Labels
A-decl-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-decl-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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-decl-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