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

New rustdoc lint to respect -Dwarnings correctly #80456

Closed
wants to merge 1 commit into from

Commits on Dec 28, 2020

  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 Dec 28, 2020
    Configuration menu
    Copy the full SHA
    796e57a View commit details
    Browse the repository at this point in the history