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 12 pull requests #77132

Closed
wants to merge 42 commits into from

Commits on Sep 14, 2020

  1. Stabilize intra-doc links

    Manishearth committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    c100e72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63d5bee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc06674 View commit details
    Browse the repository at this point in the history
  4. Mention URL fragments

    Manishearth committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    f072e4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a98409 View commit details
    Browse the repository at this point in the history
  6. Update src/doc/rustdoc/src/linking-to-items-by-name.md

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    Manishearth and Joshua Nelson committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    4e0eb0b View commit details
    Browse the repository at this point in the history
  7. Update src/doc/rustdoc/src/linking-to-items-by-name.md

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    Manishearth and Joshua Nelson committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    175e305 View commit details
    Browse the repository at this point in the history
  8. Resolve some conflicts

    Manishearth committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    51c1351 View commit details
    Browse the repository at this point in the history
  9. Fix lint name in docs

    Manishearth committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    6f1fa2b View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Update src/doc/rustdoc/src/lints.md

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    Manishearth and Joshua Nelson authored Sep 15, 2020
    Configuration menu
    Copy the full SHA
    792b2ea View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Fix underflow when calculating the number of no-op jumps folded

    When removing unwinds to no-op blocks and folding jumps to no-op blocks,
    remove the unwind target first. Otherwise we cannot determine if target
    has been already folded or not.
    
    Previous implementation incorrectly assumed that all resume targets had
    been folded already, occasionally resulting in an underflow:
    
    remove_noop_landing_pads: removed 18446744073709551613 jumps and 3 landing pads
    tmiasko committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    ff1a9e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. Update src/doc/rustdoc/src/linking-to-items-by-name.md

    Co-authored-by: Joshua Nelson <joshua@yottadb.com>
    Manishearth and Joshua Nelson authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    6928041 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

  1. Configuration menu
    Copy the full SHA
    5fd6301 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    132c9ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    767e84a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    339181a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51c32f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

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

Commits on Sep 21, 2020

  1. Applied review comments

    duckymirror committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    16eee2a View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. Configuration menu
    Copy the full SHA
    4a6bc77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0082d20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b6a482 View commit details
    Browse the repository at this point in the history
  4. Bless mir-opt tests

    jonas-schievink committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    928a29f View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    9f27f37 View commit details
    Browse the repository at this point in the history
  2. Move MiniSet to data_structures

    remove the need for T to be copy from MiniSet as was done for MiniMap
    andjo403 committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    6586c37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    631c688 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5d47bf View commit details
    Browse the repository at this point in the history
  5. fix show we're just showing... message instead of the end of query st…

    …ack message when RUST_BACKTRACE=0
    hosseind75 committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    cdd3126 View commit details
    Browse the repository at this point in the history
  6. Make delegation methods of std::net::IpAddr unstable const

    Make the following methods of `std::net::IpAddr` unstable const under the `const_ip` feature:
    - `is_unspecified`
    - `is_loopback`
    - `is_global`
    - `is_multicast`
    
    Also adds a test for these methods in a const context.
    
    Possible because these methods delegate to the inner `Ipv4Addr` or `Ipv6Addr`, which were made const, and the recent stabilization of const control flow.
    
    Part of rust-lang#76205
    CDirkx committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    947536f View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Rollup merge of rust-lang#74430 - Manishearth:stabilize-intra-doc, r=…

    …Manishearth
    
    Stabilize intra-doc links
    
    Fixes rust-lang#43466
    
    Thanks to the great work of @jyn514 in getting the [cross-crate reexport issue](rust-lang#65983) in intra-rustdoc links fixed, I think we're now in a position to stabilize this feature.
    
    The tracking issue currently has two unresolved issues:
    
     - <s>behavior around doc(hidden): This is fixed in rust-lang#73365, which is just waiting for CI and should land tomorrow. It's also a pretty niche bug so while I expect it to land soon I don't think we need to block stabilization on it anyway.</s>
     - Non-identifier primitive types like slices: This was not a part of the original RFC anyway, and is a pretty niche use case
    
    The feature itself, sans rust-lang#65983, has been shipped on nightly for three years now, with people using it on docs.rs. rust-lang#65983 itself is not an overwhelmingly central bit of functionality; the reason we elected to block stabilization on it was that back in 2017 it was not possible to fix the issue without some major refactorings of resolve, and we did not want to stabilize something that had such a potentially unfixable bug.
    
    Given that we've fixed it, I see no reason to delay stabilization on this long awaited feature. It's possible that the latest patches have problems, however we _have_ done crater runs of some of the crucial parts. Furthermore, that's what the release trains are for, we will have a solid three months to let it ride the trains before it actually hits the stable compiler.
    
    r? @rust-lang/rustdoc
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    c7d68ed View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#76304 - CDirkx:const-ip, r=ecstatic-morse

    Make delegation methods of `std::net::IpAddr` unstably const
    
    Make the following methods of `std::net::IpAddr` unstable const under the `const_ip` feature:
     - `is_unspecified`
     - `is_loopback`
     - `is_global`
     - `is_multicast`
    
    Also adds a test for these methods in a const context.
    
    Possible because these methods delegate to the inner `Ipv4Addr` or `Ipv6Addr`, which were made const ([PR#76205](rust-lang#76142) and [PR#76206](rust-lang#76206)), and the recent stabilization of const control flow.
    
    Part of rust-lang#76205
    
    r? @ecstatic-morse
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    4893b4f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#76748 - tmiasko:no-op-jumps, r=matthewjasper

    Fix underflow when calculating the number of no-op jumps folded
    
    When removing unwinds to no-op blocks and folding jumps to no-op blocks,
    remove the unwind target first. Otherwise we cannot determine if target
    has been already folded or not.
    
    Previous implementation incorrectly assumed that all resume targets had
    been folded already, occasionally resulting in an underflow:
    
    ```
    remove_noop_landing_pads: removed 18446744073709551613 jumps and 3 landing pads
    ```
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    8836966 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#76920 - hosseind75:ICEs_should_always_print…

    …_the_top_of_the_query_stack, r=oli-obk
    
    ICEs should print the top of the query stack
    
    see rust-lang#76920
    
    r? @oli-obk
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    0e4149d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#76978 - duckymirror:mpsc-from-doc, r=jyn514

    Documented From impls in std/sync/mpsc/mod.rs
    
    This is for rust-lang#51430.
    
    r? @steveklabnik
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    bd7f3f1 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#77028 - andjo403:mini, r=matthewjasper

    Move MiniSet to data_structures
    
    remove the need for T to be copy from MiniSet as was done for MiniMap
    
    MiniMap and MiniSet was added by rust-lang#72412
    
    think that this can be used in rust-lang#68828
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    63ea0cf View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#77044 - pickfire:patch-4, r=jyn514

    Liballoc bench vec use mem take not replace
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    af24b83 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#77050 - follower:patch-1, r=oli-obk

    Typo fix: "satsify" -> "satisfy"
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    7075433 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#77066 - jonas-schievink:dest-prop-borrow, r…

    …=oli-obk
    
    Fix dest prop miscompilation around references
    
    Closes rust-lang#77002
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    1a66e27 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#77086 - ehuss:src-libunwind, r=Mark-Simulacrum

    Include libunwind in the rust-src component.
    
    Some targets, such as musl, need the libunwind source to build the unwind crate (referenced [here](https://github.com/rust-lang/rust/blob/0da58007451a154da2480160429e1604a1f5f0ec/library/unwind/build.rs#L142)).
    
    Fixes rust-lang/wg-cargo-std-aware#59
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    9a85615 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#77097 - fusion-engineering-forks:slice-ptr-…

    …range-const-fn, r=oli-obk
    
    Make [].as_[mut_]ptr_range() (unstably) const.
    
    Gated behind `const_ptr_offset`, as suggested by rust-lang#65807 (comment)
    
    This also marks `[].as_mut_ptr()` as const, because it's used by `as_mut_ptr_range`. I gated it behind the same feature, because I figured it's not worth adding a separate tracking issue for const `as_mut_ptr`.
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    5572820 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#77106 - matthiaskrgr:changelog_seen, r=Mark…

    …-Simulacrum
    
    clarify that `changelog-seen = 1` goes to the beginning of config.toml
    
    Fixes rust-lang#77105
    Dylan-DPC authored Sep 24, 2020
    Configuration menu
    Copy the full SHA
    feb6392 View commit details
    Browse the repository at this point in the history