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 lint: redundant_locals #10885

Merged
merged 1 commit into from
Jul 22, 2023
Merged

Commits on Jul 22, 2023

  1. new lint: redundant_local

    fix dogfood lints in `redundant_local`
    
    keep `redundant_local` from running in proc macros
    
    rewrite `redundant_local` as late pass
    
    make redundant_local's `find_binding` more readable
    
    pluralize `redundant_locals` name
    
    add test for `redundant_locals` in macros
    
    test `redundant_locals` in proc macros
    
    use more destructuring in `redundant_locals`
    
    fix: format redundant_locals.rs
    
    ignore needless_pass_by_mut_ref in redundant_locals test
    max-niederman committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    008ba2b View commit details
    Browse the repository at this point in the history