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

Convert a hard-warning about named static lifetimes into lint "unused_lifetimes" #108230

Merged
merged 1 commit into from
Feb 22, 2023

Commits on Feb 22, 2023

  1. Convert a hard-warning about named static lifetimes into lint "unused…

    …_lifetimes"
    
    Define the `named_static_lifetimes` lint
    
    This lint will replace the existing hard-warning.
    
    Replace the named static lifetime hard-warning with the new lint
    
    Update the UI tests for the `named_static_lifetimes` lint
    
    Remove the direct dependency on `rustc_lint_defs`
    
    fix build
    
    Signed-off-by: Zhi Qi <qizhi@pingcap.com>
    
    use "UNUSED_LIFETIMES" instead
    
    Signed-off-by: Zhi Qi <qizhi@pingcap.com>
    
    update 1 test and fix typo
    
    Signed-off-by: Zhi Qi <qizhi@pingcap.com>
    
    update tests
    
    Signed-off-by: Zhi Qi <qizhi@pingcap.com>
    
    fix tests: add extra blank line
    
    Signed-off-by: Zhi Qi <qizhi@pingcap.com>
    LittleFall committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    ce2ae62 View commit details
    Browse the repository at this point in the history