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

Rollup of 6 pull requests #89992

Closed
wants to merge 12 commits into from

Commits on Aug 15, 2021

  1. Make all proc-macro back-compat lints deny-by-default

    The affected crates have had plenty of time to update.
    By keeping these as lints rather than making them hard errors,
    we ensure that downstream crates will still be able to compile,
    even if they transitive depend on broken versions of the affected
    crates.
    
    This should hopefully discourage anyone from writing any
    new code which relies on the backwards-compatibility behavior.
    Aaron1011 committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    cbfd873 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Configuration menu
    Copy the full SHA
    e4e3c9a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Configuration menu
    Copy the full SHA
    bf7c32a View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2021

  1. rustc_span: Ident::invalid -> Ident::empty

    The equivalent for `Symbol`s was renamed some time ago (`kw::Invalid` -> `kw::Empty`), and it makes sense to do the same thing for `Ident`s.
    petrochenkov committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    a680833 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8565419 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d39a1be View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#88041 - Aaron1011:deny-proc-macro-hack, r=w…

    …esleywiser
    
    Make all proc-macro back-compat lints deny-by-default
    
    The affected crates have had plenty of time to update.
    By keeping these as lints rather than making them hard errors,
    we ensure that downstream crates will still be able to compile,
    even if they transitive depend on broken versions of the affected
    crates.
    
    This should hopefully discourage anyone from writing any
    new code which relies on the backwards-compatibility behavior.
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    a49a5b3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#89100 - petrochenkov:localbind, r=cjgillot

    resolve: Use `NameBinding` for local variables and generic parameters
    
    `NameBinding` is a structure used for representing any name introduction (an item, or import, or even a built-in).
    Except that local variables and generic parameters weren't represented as `NameBinding`s, for this reason they requires separate paths in name resolution code in several places.
    
    This PR introduces `NameBinding`s for local variables as well and simplifies all the code working with them leaving only the `NameBinding` paths.
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    14d1cd9 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#89965 - JohnTitor:fix-let-else-ice-with-ref…

    …-mut, r=petrochenkov
    
    Fix ICE with `let...else` and `ref mut`
    
    Fixes rust-lang#89960, opened for review.
    I'm not satisfied with the current diagnostics, any ideas?
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    a02741b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#89974 - est31:let_else_if_error, r=nagisa

    Nicer error message if the user attempts to do let...else if
    
    Gives a nice "conditional `else if` is not supported for `let...else`" error when encountering a `let...else if` pattern, as suggested in the [let...else tracking issue](rust-lang#87335 (comment)).
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    1f23faa View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89987 - pierwill:fix-85526-docs-hidden-asso…

    …c, r=GuillaumeGomez
    
    Check implementing type for `#[doc(hidden)]`
    
    Closes rust-lang#85526.
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    dabfe6c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89990 - petrochenkov:idempty, r=wesleywiser

    rustc_span: `Ident::invalid` -> `Ident::empty`
    
    The equivalent for `Symbol`s was renamed some time ago (`kw::Invalid` -> `kw::Empty`), and it makes sense to do the same thing for `Ident`s as well.
    matthiaskrgr committed Oct 17, 2021
    Configuration menu
    Copy the full SHA
    5ce733a View commit details
    Browse the repository at this point in the history