Skip to content

Turn off -Zrustdoc-scrape-examples for proc macro crates #1965

@dtolnay

Description

@dtolnay

Crate name

automod

Build failure link

https://docs.rs/crate/automod/1.0.5/builds/703499

Additional details

It would be extremely unusual for a proc macro crate's implementation to call its own macros. Until rust-lang/cargo#11496 is fixed, or possibly even beyond that point, consider not passing -Zrustdoc-scrape-examples when the crate being documented is a proc macro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions