Proc-macro definition attributes are accepted in arbitrary non-item positions #52329
Labels
A-decl-macros-1-2
Area: Declarative macros 1.2
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
For example,
A lot of stable built-in attributes have this issue as well, but if we can fix it in this specific case, then why not.
I think these kinds of checks are usually performed in
librustc/hir/check_attr.rs
.The text was updated successfully, but these errors were encountered: