Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove attribute for display_warnings #88792

Closed
GuillaumeGomez opened this issue Sep 9, 2021 · 1 comment
Closed

Remove attribute for display_warnings #88792

GuillaumeGomez opened this issue Sep 9, 2021 · 1 comment
Assignees
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@GuillaumeGomez
Copy link
Member

From #73314 (comment).

@GuillaumeGomez GuillaumeGomez added C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Sep 9, 2021
@GuillaumeGomez GuillaumeGomez self-assigned this Sep 9, 2021
@GuillaumeGomez
Copy link
Member Author

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
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant