Incomplete save-analysis for macros #31553
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-save-analysis
Area: saving results of analyses such as inference and borrowck results to a file.
C-bug
Category: This is a bug.
Currently macros are only recorded if they are called at some point in non-generated source code. The most notable effect of this is that if a macro references some other macro internally (eg. foo! expands to bar!), that macro will not be indexed.
A fix probably requires changes to expansion traces, to store more information about macro bodies after expansion, or manually pulling nested macro calls out of callee spans.
The text was updated successfully, but these errors were encountered: