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 6 pull requests #103483

Closed
wants to merge 16 commits into from
Closed

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    717bf35 View commit details
    Browse the repository at this point in the history
  2. Update UI tests

    clubby789 committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    3f1e999 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2022

  1. Truncate thread names on Linux and Apple targets

    These targets have system limits on the thread names, 16 and 64 bytes
    respectively, and `pthread_setname_np` returns an error if the name is
    longer. However, we're not in a context that can propagate errors when
    we call this, and we used to implicitly truncate on Linux with `prctl`,
    so now we manually truncate these names ahead of time.
    cuviper committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    7280f3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12e4584 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    988e75b View commit details
    Browse the repository at this point in the history
  4. Bless tests

    fee1-dead committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    b614b0e View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    8b984e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15cfeb3 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Configuration menu
    Copy the full SHA
    45a9d18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6824ba View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#95710 - fee1-dead-contrib:stabilize_arbitra…

    …ry_enum_discriminant, r=joshtriplett
    
    Stabilize arbitrary_enum_discriminant, take 2
    
    Documentation has been updated in rust-lang/reference#1055. cc rust-lang#86860 for previous stabilization report.
    
    Not yet marks rust-lang#60553 as done: need documentation in the rust reference.
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    a27e602 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#100452 - ouz-a:issue-93242, r=jackh726

    Fake capture closures if typeck results are empty
    
    This ICE happens because `closure_min_captures` is empty, the reason it's empty is with the 2021 edition `enable_precise_capture` is set to true, which makes it so that we can't fake capture any information because that result of the `unwrap` is none hence the ICE.
    
    Other solution is editing [maybe_read_scrutinee](https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_typeck/expr_use_visitor.rs.html#453-463) to this since empty slice contains no sub patterns.
    
    Fixes rust-lang#93242
    
    ```rust
    PatKind::Slice(_, ref slice, _) => {
        if slice.is_none(){
        need_to_be_read = true;
        }
    }
    // instead of
    PatKind::Or(_)
    | PatKind::Box(_)
    | PatKind::Slice(..)
    | PatKind::Ref(..)
    | PatKind::Wild => {}
    ```
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    48ade8e View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#103350 - clubby789:refer-to-assoc-method, r…

    …=wesleywiser
    
    Change terminology for assoc method suggestions when they are not called
    
    Fixes rust-lang#103325
    
    `@rustbot` label +A-diagnostics
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    c53c19e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#103379 - cuviper:truncate-thread-name, r=th…

    …omcc
    
    Truncate thread names on Linux and Apple targets
    
    These targets have system limits on the thread names, 16 and 64 bytes
    respectively, and `pthread_setname_np` returns an error if the name is
    longer. However, we're not in a context that can propagate errors when
    we call this, and we used to implicitly truncate on Linux with `prctl`,
    so now we manually truncate these names ahead of time.
    
    r? ```@thomcc```
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    34fa3bc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#103462 - notriddle:notriddle/source-pre-rus…

    …t-white-space, r=Dylan-DPC
    
    rustdoc: remove no-op CSS `.source pre.rust { white-space: pre }`
    
    This rule, added in 49e6db7, overrode a rule in normalize.css.
    
    https://github.com/rust-lang/rust/blob/49e6db7f3510a99ab3d3723b2430add985629c39/src/librustdoc/html/static/normalize.css#L169-L175
    
    When normalize.css was updated, this rule went away.
    
    necolas/normalize.css@a8edd0c
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    b9a8b5d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#103475 - oli-obk:generic_param_indices, r=lcnr

    Make param index generation a bit more robust
    
    r? `@lcnr`
    
    While not really necessary for closure and anon const ids, it's strictly more correct
    Dylan-DPC authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    d286313 View commit details
    Browse the repository at this point in the history