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 5 pull requests #99979

Merged
merged 13 commits into from
Jul 31, 2022
Merged

Rollup of 5 pull requests #99979

merged 13 commits into from
Jul 31, 2022

Commits on Jul 26, 2022

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

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    7c93154 View commit details
    Browse the repository at this point in the history
  2. Inline inject_dll_import_lib

    bjorn3 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    90da3c6 View commit details
    Browse the repository at this point in the history
  3. Introduce an ArchiveBuilderBuilder

    This avoids monomorphizing all linker code for each codegen backend and
    will allow passing in extra information to the archive builder from the
    codegen backend.
    bjorn3 committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    7c6c7e8 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

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

Commits on Jul 30, 2022

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

Commits on Jul 31, 2022

  1. Configuration menu
    Copy the full SHA
    0362255 View commit details
    Browse the repository at this point in the history
  2. add a test to check if suggest_remove_semi_or_return_binding is wor…

    …king well for if-else
    TaKO8Ki committed Jul 31, 2022
    Configuration menu
    Copy the full SHA
    f6908be View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#99186 - camsteffen:closure-localdefid, r=cj…

    …gillot
    
    Use LocalDefId for closures more
    Dylan-DPC authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    403c1b3 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#99741 - compiler-errors:copy-impl-impl-gene…

    …rics, r=fee1-dead
    
    Use `impl`'s generics when suggesting fix on bad `impl Copy`
    
    See the UI test for a more complicated example, but we weren't correctly suggesting to add bounds given a manual `impl` whose generics didn't match the struct generics.
    
    ```rust
    #[derive(Clone)]
    struct Wrapper<T>(T);
    
    impl<S> Copy for Wrapper<S> {}
    ```
    
    Coincidentally this fix didn't cause any regressions for `derive(Copy)` impls, I think because those use the same spans in the impl generics as the struct generics, so the machinery still applies the same change.
    Dylan-DPC authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    2c14bc3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#99844 - bjorn3:archive_builder_interface_re…

    …factor, r=nagisa
    
    Introduce an ArchiveBuilderBuilder
    
    This avoids monomorphizing all linker code for each codegen backend and will allow passing in extra information to the archive builder from the codegen backend. I'm going to use this in rust-lang#97485 to allow passing in the right function to extract symbols from object files to a generic archive builder to be used by cg_llvm, cg_clif and cg_gcc.
    Dylan-DPC authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    1d010d4 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#99921 - Enselic:cc-enselic, r=GuillaumeGomez

    triagebot.yml: CC Enselic when rustdoc-json-types changes
    
    Being the maintainer of [cargo-public-api](https://github.com/Enselic/cargo-public-api) which relies on [rustdoc JSON](rust-lang#76578) means I have high stakes in the rustdoc JSON format itself. Would be great if I could be pinged when the format is about to change.
    
    I hope this is OK. Big thanks in advance.
    Dylan-DPC authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    8b2637f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#99974 - TaKO8Ki:suggest-removing-semicolon-…

    …and-boxing-the-expressions, r=compiler-errors
    
    Suggest removing a semicolon and boxing the expressions for if-else
    
    `InferCtxt::suggest_remove_semi_or_return_binding` was not working well, so I fixed it and added a ui test.
    Dylan-DPC authored Jul 31, 2022
    Configuration menu
    Copy the full SHA
    990bce4 View commit details
    Browse the repository at this point in the history