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

Make weird name lints trigger behind cfg_attr #97266

Merged
merged 2 commits into from
May 25, 2022

Commits on May 23, 2022

  1. Fix typo

    est31 committed May 23, 2022
    Configuration menu
    Copy the full SHA
    cd251fb View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Emit weird lint name lints after expansion

    Previously, we were emitting weird name lints (for renamed or unknown lints)
    before expansion, most importantly before cfg expansion.
    This meant that the weird name lints would not fire
    for lint attributes hidden inside cfg_attr. The same applied
    for lint level specifications of those lints.
    
    By moving the lints for the lint names to the post-expansion
    phase, these issues are resolved.
    est31 committed May 24, 2022
    Configuration menu
    Copy the full SHA
    2a8b60f View commit details
    Browse the repository at this point in the history