Skip to content

Remove attribute for display_warnings #88792

Closed

Description

@GuillaumeGomez

Activity

  1. added
    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    on Sep 9, 2021
  2. GuillaumeGomez commented on Sep 15, 2021

    @GuillaumeGomez
    MemberAuthor

    I tried with:

    #![doc(test(display_doctest_warnings))]
    
    /// ```
    /// let x = 12;
    /// ```
    pub fn foo() {}

    No warning when running rustdoc --test foo.rs, however I got some when running rustdoc --test foo.rs -Z unstable-options --display-doctest-warnings. So I guess this issue doesn't exist. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.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