8000 save-analysis filters out public items · Issue #49178 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content
save-analysis filters out public items #49178
@mystor

Description

@mystor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-save-analysisArea: saving results of analyses such as inference and borrowck results to a file.C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0