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 8 pull requests #126433

Closed
wants to merge 22 commits into from

Commits on May 20, 2024

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

Commits on Jun 11, 2024

  1. UniqueRc: support allocators and T: ?Sized.

    Added the following (all unstable):
    
    * Defaulted type pararameter `A: Allocator`.
    * `UniqueRc::new_in()`.
    * `T:  ?Sized` where possible.
    * `impl CoerceUnsized for UniqueRc`.
    * Drive-by doc polish: links and periods at the end of sentences.
    
    These changes are motivated by supporting the implementation of unsized
    `Rc::make_mut()` (PR rust-lang#116113), but are also intended to be obvious
    generalizations of `UniqueRc` to support the things `Rc` does.
    kpreid committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    27ecb71 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    6445073 View commit details
    Browse the repository at this point in the history
  2. Remove some msys2 utils

    ChrisDenton committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    48d3425 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. std::unix::fs::link using direct linkat call for Solaris and macOs.

    Since we support solaris 11 and macOs Sierra as minimum, we can get rid
    of the runtime overhead.
    devnexen committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c81ffab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2733b8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a621701 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ece3e3e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8d6170 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7566307 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b28221e View commit details
    Browse the repository at this point in the history
  8. Add some tests

    oli-obk committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c75f728 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9cf60ee View commit details
    Browse the repository at this point in the history
  10. extend the check for LLVM build

    We don't build LLVM when using the precompiled version from the CI builder.
    
    Signed-off-by: onur-ozkan <[email protected]>
    onur-ozkan committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    58e3ac0 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#121216 - madsmtm:fix-108825, r=wesleywiser

    Always emit `native-static-libs` note, even if it is empty
    
    Fixes rust-lang#108825.
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a5709f3 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#123962 - oli-obk:define_opaque_types5, r=lcnr

    change method resolution to constrain hidden types instead of rejecting method candidates
    
    Some of these are in probes and may affect inference. This is therefore a breaking change.
    
    This allows new code to compile on stable:
    
    ```rust
    trait Trait {}
    
    impl Trait for u32 {}
    
    struct Bar<T>(T);
    
    impl Bar<u32> {
        fn foo(self) {}
    }
    
    fn foo(x: bool) -> Bar<impl Sized> {
        if x {
            let x = foo(false);
            x.foo();
            //^ this used to not find the `foo` method, because while we did equate `x`'s type with possible candidates, we didn't allow opaque type inference while doing so
        }
        todo!()
    }
    ```
    
    r? ```@compiler-errors```
    
    fixes  rust-lang#121404
    
    cc rust-lang#116652
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    9958f8d View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#126285 - kpreid:unique-rc, r=dtolnay

    `UniqueRc`: support allocators and `T: ?Sized`.
    
    Added the following (all unstable):
    
    * Defaulted type pararameter `A: Allocator`.
    * `UniqueRc::new_in()`.
    * `T:  ?Sized` where possible.
    * `impl CoerceUnsized for UniqueRc`.
    
    These changes are motivated by supporting the implementation of unsized `Rc::make_mut()` (PR rust-lang#116113), but are also intended to be obvious generalizations of `UniqueRc` to support the things `Rc` does.
    
    r? `@the8472`
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    264b173 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#126315 - mu001999-contrib:fix/126289, r=pet…

    …rochenkov
    
    Add pub struct with allow(dead_code) into worklist
    
    <!--
    If this PR is related to an unstable feature or an otherwise tracked effort,
    please link to the relevant tracking issue here. If you don't know of a related
    tracking issue or there are none, feel free to ignore this.
    
    This PR will get automatically assigned to a reviewer. In case you would like
    a specific user to review your work, you can assign it to them by using
    
        r​? <reviewer name>
    -->
    
    Fixes rust-lang#126289
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c87e06d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#126320 - oli-obk:pat_ice, r=lcnr

    Avoid ICES after reporting errors on erroneous patterns
    
    fixes rust-lang#109812
    fixes rust-lang#125914
    fixes rust-lang#124004
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    758f890 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#126343 - ChrisDenton:remove-utils, r=Kobzol

    Remove some msys2 utils
    
    `dos2unix` should no longer be necessary. I suspect `diffutils` might not be needed either as (I think) only `diff` is used and that seems to be shipped with git bash at least.
    
    try-job: x86_64-msvc
    try-job: x86_64-msvc-ext
    try-job: dist-x86_64-msvc
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    160e4c9 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#126351 - devnexen:to_sol11_upd, r=ChrisDenton

    std::unix::fs::link using direct linkat call for Solaris.
    
    Since we support solaris 11 as minimum, we can get rid of the runtime overhead.
    
    try-job: dist-various-2
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    7fde38a View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#126399 - onur-ozkan:126156, r=albertlarsan68

    extend the check for LLVM build
    
    We don't build LLVM when using the precompiled version from the CI builder.
    
    Closes rust-lang#126156
    matthiaskrgr authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    0e05486 View commit details
    Browse the repository at this point in the history