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 #120653

Closed
wants to merge 23 commits into from

Commits on Dec 31, 2023

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

Commits on Jan 26, 2024

  1. Use <T, U> for array/slice equality impls

    Makes the trait implementation documentation for arrays and slices appear more consistent.
    wackbyte committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    3f3a153 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Configuration menu
    Copy the full SHA
    4272f1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32e4862 View commit details
    Browse the repository at this point in the history
  3. update the tracking issue for structural match violations

    and bless a test I missed
    RalfJung committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    0808691 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

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

Commits on Feb 2, 2024

  1. Update libc to 0.2.153

    pheki committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    ee87033 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe8c4ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    965da3a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. Configuration menu
    Copy the full SHA
    ff00096 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    531be74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad392ff View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Configuration menu
    Copy the full SHA
    cb4e69a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32b44ec View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#119481 - romanows:fix-doc-select-nth-unstab…

    …le, r=Mark-Simulacrum
    
    Clarify ambiguity in select_nth_unstable docs
    
    Original docs for `select_nth_unstable` family of functions were ambiguous as to whether "the element at `index`" was the element at `index` before the function reordered the elements or after the function reordered the elements.
    
    The most helpful change in this PR is to change the given examples to make this absolutely clear.  Before, "the element at `index`" was the same value before and after the reordering, so it didn't help disambiguate the meaning.  I've changed the example for `select_nth_unstable` and `select_nth_unstable_by` so that "the element at `index`" is different before and after the reordering, which clears up the ambiguity.  The function `select_nth_unstable_by_key` already had an example that was unambiguous.
    
    In an attempt to clear up the ambiguity from the get-go, I've added a bit of redundancy to the text.  Now the docs refer to "the element at `index` *after the reordering*".
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    ea84796 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#120103 - compiler-errors:concrete-afits, r=…

    …oli-obk
    
    Make it so that async-fn-in-trait is compatible with a concrete future in implementation
    
    There's no technical reason why an AFIT like `async fn foo()` cannot be satisfied with an implementation signature like `fn foo() -> Pin<Box<dyn Future<Output = ()> + 'static>>`.
    
    We rejected this previously because we were uncertain about how AFITs worked with refinement, but I don't believe this needs to be a restriction any longer.
    
    r? oli-obk
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    a558214 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#120384 - wackbyte:array-equality-generics, …

    …r=Mark-Simulacrum
    
    Use `<T, U>` for array/slice equality `impl`s
    
    Makes the trait implementation documentation for arrays and slices appear more consistent.
    
    [Example](https://doc.rust-lang.org/1.75.0/std/primitive.array.html): mixed `A`, `B`, and `U`.
    ![List of PartialEq implementations for arrays](https://github.com/wackbyte/rust/assets/29505620/823c010e-ee57-4de1-885b-a1cd6dcaf85f)
    
    This change makes them all `U`.
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    38d127c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#120423 - RalfJung:indirect-structural-match…

    …, r=petrochenkov
    
    update indirect structural match lints to match RFC and to show up for dependencies
    
    This is a large step towards implementing rust-lang/rfcs#3535.
    We currently have five lints related to "the structural match situation":
    - nontrivial_structural_match
    - indirect_structural_match
    - pointer_structural_match
    - const_patterns_without_partial_eq
    - illegal_floating_point_literal_pattern
    
    This PR concerns the first 3 of them. (The 4th already is set up to show for dependencies, and the 5th is removed by rust-lang#116284.) nontrivial_structural_match is being removed as per the RFC; the other two are enabled to show up in dependencies.
    
    Fixes rust-lang#73448 by removing the affected analysis.
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    ed6321d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#120458 - rytheo:cstr-conversion-doc, r=Mark…

    …-Simulacrum
    
    Document `&CStr` to `CString` conversion
    
    Related to rust-lang#51430
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    1bc76ef View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#120558 - oli-obk:missing_impl_item_ice, r=e…

    …stebank
    
    Stop bailing out from compilation just because there were incoherent traits
    
    fixes rust-lang#120343
    
    but also has a lot of "type annotations needed" fallout. Some are fixed in the second commit.
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    c1cecc9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#120572 - pheki:update-libc, r=Mark-Simulacrum

    Update libc to 0.2.153
    
    Bumps libc dependency to 0.2.153, which includes this fix, required for building std for the vita: rust-lang/libc#3552
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    4a16342 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#120641 - klensy:copypaste-me, r=notriddle

    rustdoc: trait.impl, type.impl: sort impls to make it not depend on serialization order
    
    Can be tested by running `cargo doc` with different rust versions on some crate and comparing `doc` folders: files in `trait.impl` and `type.impl` will sometimes have different order of impls.
    matthiaskrgr authored Feb 4, 2024
    Configuration menu
    Copy the full SHA
    3e88221 View commit details
    Browse the repository at this point in the history