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 9 pull requests #89932

Closed
wants to merge 20 commits into from
Closed

Commits on Oct 4, 2021

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

Commits on Oct 14, 2021

  1. Remove alloc::prelude

    As per the libs team decision in rust-lang#58935.
    
    Closes rust-lang#58935
    Amanieu committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    8007dfa View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Moved format-version constant to rustdoc-json-types

    Yuval Dolev committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    43f4ef5 View commit details
    Browse the repository at this point in the history
  2. emitter: current substitution can be multi-line

    In `splice_lines`, there is some arithmetic to compute the required
    alignment such that future substitutions in a suggestion are aligned
    correctly. However, this assumed that the current substitution's span
    was only on a single line. In circumstances where this was not true, it
    could result in a arithmetic overflow when the substitution's end
    column was less than the substitution's start column.
    
    Signed-off-by: David Wood <david.wood@huawei.com>
    davidtwco committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    d2dc0f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4f9eb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7c132d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d3fa07c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2b5b456 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a51798a View commit details
    Browse the repository at this point in the history
  8. [fuchsia] Update process info struct

    The fuchsia platform is in the process of softly transitioning over to
    using a new value for ZX_INFO_PROCESS with a new corresponding struct.
    This change migrates libstd.
    
    See fxrev.dev/510478 and fxbug.dev/30751 for more detail.
    joshuaseaton committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    024baa9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d3bddf3 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Rollup merge of rust-lang#89509 - jhpratt:stabilize-const_unreachable…

    …_unchecked, r=oli-obk
    
    Stabilize `unreachable_unchecked` as `const fn`
    
    Closes rust-lang#53188
    
    This PR stabilizes `core::hint::unreachable_unchecked` as `const fn`. MIRI is able to detect when this method is called. Stabilization was delayed until `const_panic` was stabilized so as to avoid users calling this method in its place (thus resulting in runtime UB). With rust-lang#89508, that is no longer an issue.
    
    ```@rustbot``` label +A-const-eval +A-const-fn +T-lang +S-blocked
    
    (not sure why it's T-lang, but that's what the tracking issue is)
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    3669d56 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#89898 - Amanieu:remove_alloc_prelude, r=jos…

    …htriplett
    
    Remove alloc::prelude
    
    As per the libs team decision in rust-lang#58935.
    
    Closes rust-lang#58935
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    d3577b1 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#89906 - yuvaldolev:move-format-version-to-r…

    …ustdoc-json-types, r=CraftSpider
    
    Moved format-version constant to rustdoc-json-types
    
    Addresses rust-lang#88620
    
    Moved format-version constant from rustdoc to rustdoc-json-types.
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    c81cbb1 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#89912 - davidtwco:issue-89280-split-lines-m…

    …ultiple-lines, r=oli-obk
    
    emitter: current substitution can be multi-line
    
    Fixes rust-lang#89280.
    
    In `splice_lines`, there is some arithmetic to compute the required alignment such that future substitutions in a suggestion are aligned correctly. However, this assumed that the current substitution's span was only on a single line. In circumstances where this was not true, it could result in a arithmetic overflow when the substitution's end column was less than the substitution's start column.
    
    r? ```@oli-obk```
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    5a9fdd3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#89914 - jackh726:gat_genericboundfailure, r…

    …=estebank
    
    Emit impl difference error for GenericBoundFailure too
    
    Fixes rust-lang#86787
    
    r? ```@estebank```
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    61b9fc4 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#89915 - jackh726:outlives_cleanup, r=nikoma…

    …tsakis
    
    Some outlives cleanup
    
    No semantic changes here, only moving code around + using `LocalDefId` instead of `HirId`
    
    r? ```@nikomatsakis```
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    723b0c7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#89918 - JohnTitor:gats-tests, r=jackh726

    Add some GATs related regression tests
    
    Closes rust-lang#88287, closes rust-lang#88405
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    318097e View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89921 - joshuaseaton:zircon-process, r=tmandry

    [fuchsia] Update process info struct
    
    The fuchsia platform is in the process of softly transitioning over to
    using a new value for ZX_INFO_PROCESS with a new corresponding struct.
    This change migrates libstd.
    
    See [fxrev.dev/510478](https://fxrev.dev/510478) and [fxbug.dev/30751](https://fxbug.dev/30751) for more detail.
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    3babaac View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89925 - gilescope:update-docs-atomic-usage,…

    … r=m-ou-se
    
    updating docs to mention usage of AtomicBool
    
    Mouse mentioned we should point out that atomic bool is used by the std lib these days. ( m-ou-se/getrandom#1 )
    jackh726 committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    49fdf1e View commit details
    Browse the repository at this point in the history