Skip to content

Document compile_fail for doc tests #42288

Closed
@clarfonthey

Description

@clarfonthey

You can mark doctests as compile_fail but this isn't actually documented anywhere in the Rust book, even though it should be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions