Attribute syntax extensions don't expand inside blocks #6727
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-parser
Area: The parsing of Rust source code to an AST
A-syntaxext
Area: Syntax extensions
The following should work:
The syntax extension is not expanded (this isn't specific to
deriving
, e.g. using#[auto_encode]
would give a compile error if it was expanded, but it passes silently).(I'm fairly sure this used to work, but I'm not certain.)
The text was updated successfully, but these errors were encountered: