Rust: expand attribute macros

This commit is contained in:
Paolo Tranquilli
2025-04-17 18:09:15 +02:00
committed by Paolo Tranquilli
parent 3437210d32
commit 49cf1739a4
66 changed files with 16543 additions and 1354 deletions

View File

@@ -1232,7 +1232,6 @@ class _:
todo!()
```
"""
expanded: optional[AstNode] | child | rust.detach
@annotate(MacroDef)
@@ -1945,4 +1944,4 @@ class FormatArgument(Locatable):
@annotate(Item, add_bases=(Addressable,))
class _:
pass
expanded: optional[AstNode] | child | rust.detach | doc("expanded attribute or procedural macro call of this item")