mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Initial Attempt limiting number of token tree in macro expansion.
This commit is contained in:
parent
83f9cc677f
commit
15d183be79
5 changed files with 120 additions and 46 deletions
|
@ -224,6 +224,9 @@ pub enum MacroCallKind {
|
|||
derive_attr_index: AttrId,
|
||||
/// Index of the derive macro in the derive attribute
|
||||
derive_index: u32,
|
||||
/// The "parent" macro call.
|
||||
/// We will resolve the same token tree for all derive macros in the same derive attribute.
|
||||
derive_macro_id: MacroCallId,
|
||||
},
|
||||
Attr {
|
||||
ast_id: AstId<ast::Item>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue