save-analysis filters out public items #49178
Labels
A-save-analysis
Area: saving results of analyses such as inference and borrowck results to a file.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
save-analysis currently filters out items based on their span - namely, if the item is determined to be "from a macro" according to its span, it will not be included in the saved analysis.
This can mean that items which are part of a crate's public interface are often filtered out. I imagine we should ensure that we never filter out items which are not
#[doc(hidden)]
and are part of a crate's public interface.In addition, a flag should probably be added to the configuration struct to disable generated decl filtering.
The text was updated successfully, but these errors were encountered: