Skip to content

rustdoctest: --nocapture still hides the output for successful tests #45724

Closed
@QuietMisdreavus

Description

@QuietMisdreavus

image

This is from my crate synchronoise. In this case, tests::signal_doctest and the doctest for SignalEvent are the same code - i needed to copy the doctest into a regular unit test to see the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-doctestsArea: Documentation tests, run by rustdocC-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