Skip to content

rustdoc fails on ignore'd code #30032

Closed
Closed
@steveklabnik

Description

@steveklabnik

This doc example:

/// ```ignore
/// let heart = '❤️';
/// ```

compiles and passes with rustdoc --test, but not just generating documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc 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