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 11 pull requests #130907

Merged
merged 27 commits into from
Sep 27, 2024
Merged

Rollup of 11 pull requests #130907

merged 27 commits into from
Sep 27, 2024

Commits on Sep 12, 2024

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

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    6fa092a View commit details
    Browse the repository at this point in the history
  2. Fix awkward wording.

    theemathas committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f604ed6 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

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

Commits on Sep 21, 2024

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

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    986e20d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f1ed9b View commit details
    Browse the repository at this point in the history
  3. Pass Module Analysis Manager to Standard Instrumentations

    Aleksei Romanov committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    afb7eef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a51b0a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    5892187 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bef68c View commit details
    Browse the repository at this point in the history
  3. rustdoc: do not animate when user prefers reduced motion

    This accessibility improvement gates the target flashing and tooltip fade-out
    behind an inverted prefers-reduced-motion media query.
    zopsicle authored and zopsicle committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    cdd3371 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef87a7f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9431d1a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e29ff8c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5b58481 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#130279 - theemathas:manually-drop-docs, r=t…

    …homcc,traviscross
    
    Document subtleties of `ManuallyDrop`
    
    After seeing rust-lang#130140 and rust-lang#130141, I figured that `ManuallyDrop` needs documentation explaining its subtleties, hence this PR.
    
    See also rust-lang/unsafe-code-guidelines#245
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    8a827c7 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#130517 - bjorn3:update_ra_config, r=onur-ozkan

    Add the library workspace to the suggested rust-analyzer config
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a4a591a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#130820 - 91khr:fix-coroutine-unit-arg, r=co…

    …mpiler-errors
    
    Fix diagnostics for coroutines with () as input.
    
    This may be a more real-life example to trigger the diagnostic:
    
    ```rust
    #![features(try_blocks, coroutine_trait, coroutines)]
    
    use std::ops::Coroutine;
    
    struct Request;
    struct Response;
    fn get_args() -> Result<String, String> { todo!() }
    fn build_request(_arg: String) -> Request { todo!() }
    fn work() -> impl Coroutine<Option<Response>, Yield = Request> {
        #[coroutine]
        |_| {
            let r: Result<(), String> = try {
                let req = get_args()?;
                yield build_request(req)
            };
            if let Err(msg) = r {
                eprintln!("Error: {msg}");
            }
        }
    }
    ```
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    0acddf5 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#130833 - makai410:master, r=compiler-errors…

    …,fee1-dead
    
    Fix the misleading diagnostic for `let_underscore_drop` on type without `Drop` implementation
    
    Closes: rust-lang#130430
    r? rust-lang/diagnostics
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d3cb1ce View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#130845 - RalfJung:utf8chunk, r=tgross35

    Utf8Chunks: add link to Utf8Chunk
    
    It is currently surprisingly non-trivial to go from the `utf8_chunks` method to the docs of the `valid`/`invalid` methods used in the example. This should help.
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e650546 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#130850 - saveasguy:pass-mam-to-standrd-inst…

    …rumentations, r=nikic
    
    Pass Module Analysis Manager to Standard Instrumentations
    
    This PR introduces changes related to llvm::PassInstrumentationCallbacks. Now, we pass Module Analysis Manager to StandardInstrumentations::registerCallbacks, so it can take advantage of such instrumentations as IR verifier or preserved CFG checker. So basically this is NFC PR.
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    c9478ef View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#130861 - cuviper:sun-path-offset, r=ibrahee…

    …mdev
    
    Use `mem::offset_of!` for `sockaddr_un.sun_path`
    
    We don't need manual pointer math here anymore!
    
    try-job: dist-i686-msvc
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    329f9fc View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#130862 - zopsicle:patch-1, r=notriddle,Guil…

    …laumeGomez
    
    rustdoc: do not animate :target when user prefers reduced motion
    
    This accessibility improvement gates rust-lang#129284 behind an inverted [prefers-reduced-motion](https://developer.mozilla.org/en-US/docs/Web/CSS/`@media/prefers-reduced-motion)` media query.
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    432b1ff View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#130868 - taiki-e:s390x-fixme, r=jieyouxu

    Update FIXME comment in s390x_unknown_linux_*.rs
    
    - Remove comment about "LLVM < 16" since the minimum external LLVM version is 16+ since rust-lang#117947
    - Reflect rename of cabi_s390x.rs in rust-lang@030244c (renamed to [abi/call/s390x.rs](rust-lang@030244c#diff-20136d4a18fa0ef9bd4fc2e6f92e88daad6be88bfb156e5702af39ee87ca4879), and it is currently [still in the same location](https://github.com/rust-lang/rust/blob/9e394f551c050ff03c6fc57f190e0761cf0be6e8/compiler/rustc_target/src/abi/call/s390x.rs)).
    
    r? ``````@cuviper``````
    
    ``````@rustbot`````` label +O-SystemZ
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    18dfee0 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#130879 - fmease:fix-diag-ice, r=compiler-er…

    …rors
    
    Pass correct HirId to late_bound_vars in diagnostic code
    
    Fixes rust-lang#130858.
    Fixes rust-lang#125655.
    Fixes rust-lang#130391.
    Fixes rust-lang#130663.
    
    r? compiler-errors
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ed902a8 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#130880 - RalfJung:const-hack, r=scottmcm

    add missing FIXME(const-hack)
    
    r? ```@scottmcm```
    GuillaumeGomez authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3d4d45f View commit details
    Browse the repository at this point in the history