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

[beta] Clippy beta backport #119188

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Commits on Dec 21, 2023

  1. Auto merge of rust-lang#11538 - Jarcho:proc_mac, r=dswij

    Fix `is_from_proc_macro` patterns
    
    fixes rust-lang#11533
    
    changelog: none
    bors authored and flip1995 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    df0c39c View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#11756 - y21:issue11755, r=Manishearth

    [`unused_enumerate_index`]: don't ICE on empty tuples
    
    Fixes rust-lang#11755
    
    changelog: [`unused_enumerate_index`]: don't ICE on empty tuples
    
    I'm going to nominate for beta backport because the code that is needed to trigger this seems likely to occur in real code
    `@rustbot` label +beta-nominated
    bors authored and flip1995 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    ed1336c View commit details
    Browse the repository at this point in the history
  3. Auto merge of rust-lang#11760 - compiler-errors:escaping, r=Jarcho

    Don't check for late-bound vars, check for escaping bound vars
    
    Fixes an assertion that didn't make sense. Many valid and well-formed types *have* late-bound vars (e.g. `for<'a> fn(&'a ())`), they just must not have *escaping* late-bound vars in order to be normalized correctly.
    
    Addresses rust-lang/rust-clippy#11230, cc `@jyn514` and `@matthiaskrgr`
    
    changelog: don't check for late-bound vars, check for escaping bound vars. Addresses rust-lang/rust-clippy#11230
    bors authored and flip1995 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    bdb77cc View commit details
    Browse the repository at this point in the history
  4. Auto merge of rust-lang#11953 - Jarcho:issue_11952, r=Alexendoo

    Fix binder handling in `unnecessary_to_owned`
    
    fixes rust-lang#11952
    
    The use of `rebind` instead of `EarlyBinder::bind` isn't technically needed, but it is the semantically correct operation.
    
    changelog: None
    bors authored and flip1995 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f54362f View commit details
    Browse the repository at this point in the history