This issue tracks feature unrestricted_attribute_tokens introduced for future-compatibility during stabilization of macros 1.2.
The feature allows using the full macro attribute grammar for non-macro attributes:
PATH
PATH `(` TOKEN_STREAM `)`
PATH `[` TOKEN_STREAM `]`
PATH `{` TOKEN_STREAM `}`
Additionally, the feature extends the grammar of value in key-value attributes (#[key = "value"]) to arbitrary token trees:
More information and proposed path to stabilization can be found in https://internals.rust-lang.org/t/unrestricted-attribute-tokens-feature-status/8561.
This issue tracks feature
unrestricted_attribute_tokensintroduced for future-compatibility during stabilization of macros 1.2.The feature allows using the full macro attribute grammar for non-macro attributes:
Additionally, the feature extends the grammar of value in key-value attributes (
#[key = "value"]) to arbitrary token trees:More information and proposed path to stabilization can be found in https://internals.rust-lang.org/t/unrestricted-attribute-tokens-feature-status/8561.