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

Declare a new lint to properly deny warnings in rustdoc #79816

Closed

Commits on Mar 13, 2021

  1. New rustdoc lint to respect -Dwarnings correctly

    This adds a new lint to `rustc` that is used in rustdoc when a code
    block is empty or cannot be parsed as valid Rust code.
    
    Previously this was unconditionally a warning. As such some
    documentation comments were (unknowingly) abusing this to pass despite
    the `-Dwarnings` used when compiling `rustc`, this should not be the
    case anymore.
    poliorcetics committed Mar 13, 2021
    Configuration menu
    Copy the full SHA
    4f4b2f5 View commit details
    Browse the repository at this point in the history