You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand Attributes on Statements and Expressions
This enables attribute-macro expansion on statements and expressions while retaining the `stmt_expr_attributes` feature requirement for attributes on expressions.
closes#41475
cc #38356@petrochenkov@jseyfried
r? @nrc
If
my_attr
is an attribute proc macro which otherwise resolves in a given context,#[my_attr] let foo: i32;
will fail to resolve.I'm on mobile because my home internet is down so I can't really provide a better example. Will update later if necessary.
cc @jseyfried
The text was updated successfully, but these errors were encountered: