Skip to content

rustc private crates have unresolved references due to rustc_macros not being expandable #13591

Closed
@Veykril

Description

@Veykril

When using the rustc_private crates in a project (like rust-clippy for example), some things won't be resolved by r-a, because it can't expand the macros used in the rustc_private crates. The cause for that is that cargo doesn't rebuild the crates when we build the project for build-scripts and proc-macros, so we never built the necessary proc-macros, causing r-a to fall back to using the dummy expander for the relevant proc-macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-proc-macroproc macroC-bugCategory: bugE-unknownIt's unclear if the issue is E-hard or E-easy without digging inS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions