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

Merged
merged 19 commits into from
Feb 12, 2024
Merged

Rollup of 8 pull requests #120951

merged 19 commits into from
Feb 12, 2024

Commits on Apr 18, 2023

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

Commits on Feb 7, 2024

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

Commits on Feb 10, 2024

  1. hir: Introduce TyCtxt::parent_hir_{id,node}

    Remove the FIXME and keep `CRATE_HIR_ID` being its own parent.
    This scheme turned out to be more practical than having an `Option` on closer inspection.
    
    Also make `hir_owner_parent` more readable.
    petrochenkov committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    e46e3e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b072838 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1383657 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29db789 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c210fec View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    07afd0f View commit details
    Browse the repository at this point in the history
  2. Cleanup around the new assert_unsafe_precondition

    Make the polymorphic is_nonoverlapping private
    
    Fix assert_unsafe_precondition doc typos
    
    Add docs for intrinsics::debug_assertions
    saethlin committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    f0de100 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea6944a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aaa6d3b View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#110483 - tleibert:thin-box-try-new, r=dtolnay

    Create try_new function for ThinBox
    
    The `allocator_api` feature has proven very useful in my work in the FreeBSD kernel. I've found a few places where a `ThinBox` rust-lang#92791 would be useful, but it must be able to be fallibly allocated for it to be used in the kernel.
    
    This PR proposes a change to add such a constructor for ThinBox.
    
    ACP: rust-lang/libs-team#213
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    251a09e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#120740 - ChrisDenton:cmaths, r=Mark-Simulacrum

    Make cmath.rs a single file
    
    It makes sense to have this all in one file. There's essentially only one target that has missing symbols and that's easy enough to handle inline.
    
    Note that the Windows definitions used to use `c_float` and `c_double` whereas the other platforms all used `f32` and `f64`. They've now been made consistent. However, `c_float` and `c_double` have the expected definitions on all Windows platforms we support.
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    f64bc31 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#120872 - petrochenkov:opthirpar, r=cjgillot

    hir: Refactor getters for HIR parents
    
    See individual commits.
    
    I ended up removing on of the FIXMEs from rust-lang#120206 instead of addressing it.
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    4c154a1 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#120880 - RalfJung:vtable-fnptr-partialeq, r…

    …=cuviper
    
    add note on comparing vtables / function pointers
    
    Fixes rust-lang#99388
    Fixes rust-lang#117047
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    3d7d709 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#120885 - RalfJung:normal-visitor, r=compile…

    …r-errors
    
    interpret/visitor: ensure we only see normalized types
    
    [Prior discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/146212-t-compiler.2Fconst-eval/topic/Normalization.20after.20field.20projection)
    r? `@compiler-errors`
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    90b4e41 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#120888 - saethlin:unsafe-precondition-clean…

    …up, r=RalfJung
    
    assert_unsafe_precondition cleanup
    
    I moved the polymorphic `is_nonoverlapping` into the `Cell` function that uses it and renamed `intrinsics::is_nonoverlapping_mono` to just `intrinsics::is_nonoverlapping`.
    
    We now also have some docs for `intrinsics::debug_assertions`.
    
    r? RalfJung
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    d71154f View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#120897 - compiler-errors:foreign-async-clos…

    …ure, r=oli-obk
    
    Encode `coroutine_for_closure` for foreign crates
    
    Async closures (and "coroutine closures" in general) need to have their child coroutine encoded. This PR does that.
    
    r? oli-obk
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    aeafbbe View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#120937 - ian-h-chamberlain:docs/update-3ds-…

    …links-and-info, r=JohnTitor
    
    [docs] Update armv6k-nintendo-3ds platform docs for outdated info
    
    Mostly just fixing links and references to renamed crates, but also updating a bit of outdated info as well.
    
    CC `@Meziu` `@AzureMarker`
    matthiaskrgr authored Feb 11, 2024
    Configuration menu
    Copy the full SHA
    9bd630a View commit details
    Browse the repository at this point in the history