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

Closed
wants to merge 24 commits into from

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 22, 2024

  1. Configuration menu
    Copy the full SHA
    86493d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    912e1ae 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. Configuration menu
    Copy the full SHA
    d3e59a5 View commit details
    Browse the repository at this point in the history
  4. 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
  5. 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. Configuration menu
    Copy the full SHA
    ef87a7f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9431d1a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e29ff8c View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#130517 - bjorn3:update_ra_config, r=onur-ozkan

    Add the library workspace to the suggested rust-analyzer config
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    16726f0 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#130706 - GuillaumeGomez:remove-unneeded-jin…

    …ja-comments, r=notriddle
    
    [rustdoc] Remove unneeded jinja comments
    
    This is a follow-up of rust-lang#130585.
    
    Since we now check for the jinja comments we missed, we can now check for the jinja comments which are unneeded. It will make the parsing and therefore the compilation a tiny bit faster (well, if anyone sees a difference haha). The real goal is mostly to have easier to read template files. 😉
    
    r? `@notriddle`
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    de98278 View commit details
    Browse the repository at this point in the history
  8. 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}");
            }
        }
    }
    ```
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e3fe4a2 View commit details
    Browse the repository at this point in the history
  9. 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
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    3005040 View commit details
    Browse the repository at this point in the history
  10. 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.
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    0f628b2 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#130846 - ChrisDenton:revert-break, r=Noratrieb

    Revert Break into the debugger on panic (129019)
    
    This was talked about a bit at a recent libs meeting. While I think experimenting with this is worthwhile, I am nervous about this new behaviour reaching stable. We've already reverted on one tier 1 platform (Linux, rust-lang#130810) which means we have differing semantics on different tier 1 platforms. Also the fact it triggers even when `catch_unwind` is used to catch the panic means it can be very noisy in some projects.
    
    At the very least I think it could use some more discussion before being instantly stable. I think this could maybe be re-landed with an environment variable to control/override the behaviour. But that part would likely need a libs-api decision.
    
    cc `@workingjubilee` `@kromych`
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6798174 View commit details
    Browse the repository at this point in the history
  12. 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.
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7939ed5 View commit details
    Browse the repository at this point in the history
  13. 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
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    37ed94f View commit details
    Browse the repository at this point in the history
  14. 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
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    0b91f88 View commit details
    Browse the repository at this point in the history
  15. 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
    workingjubilee authored Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6490a7d View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#130880 - RalfJung:const-hack, r=scottmcm

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