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 10 pull requests #84501

Merged
merged 27 commits into from
Apr 24, 2021
Merged

Rollup of 10 pull requests #84501

merged 27 commits into from
Apr 24, 2021

Commits on Apr 8, 2021

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

Commits on Apr 16, 2021

  1. bootstrap: use bash on illumos to run install scripts

    The default illumos shell ("sh" in the default PATH) is ksh93, rather
    than bash, and does not support constructs like "local" that came from
    bash.  The bootstrap function for invoking "install.sh" scripts should
    use "bash" explicitly there to avoid issues.
    jclulow committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    4873271 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. rustdoc: use details tag for trait implementors

    This switches from JS-generated toggles to using the HTML <details> tag
    for expanding and collapsing entries in the "Implementors" section.
    jsha committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    569096c View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Make a few functions private

    These were made public in 3105bcf. This
    is so long ago I doubt anyone remembers why they're public. No one uses
    them, including in-tree tools.
    jyn514 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    1a46b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60ff298 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary crate_name parameter to after_krate

    It's always `tcx.crate_name(LOCAL_CRATE)`, it doesn't need to be passed
    in separately.
    jyn514 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    f435f71 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    68db586 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    640cc74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    423963c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7f6d540 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    edb60a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    8f41de5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b96dfe View commit details
    Browse the repository at this point in the history
  3. Mention FusedIterator case in Iterator::fuse doc

    Using `fuse` on an iterator that incorrectly implements
    `FusedIterator` does not fuse the iterator. This commit adds a
    note about this in the documentation of this method to increase
    awareness about this potential issue (esp. when relying on fuse
    in unsafe code).
    amorison committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    21b3b27 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c50b82 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a657e17 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b430df View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2021

  1. Rollup merge of rust-lang#83990 - the8472:take-trusted-len, r=dtolnay

    implement `TrustedRandomAccess` for `Take` iterator adapter
    
    `TrustedRandomAccess` requires the iterator length to fit within `usize`. `take(n)` only constrains the upper bound of an iterator. So if the inner is `TrustedRandomAccess` (which already implies a finite length) then so can be `Take`.
    
    ```````@rustbot``````` label T-libs-impl
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    c00439f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#84250 - jclulow:illumos-bash-bootstrap, r=M…

    …ark-Simulacrum
    
    bootstrap: use bash on illumos to run install scripts
    
    The default illumos shell ("sh" in the default PATH) is ksh93, rather
    than bash, and does not support constructs like "local" that came from
    bash.  The bootstrap function for invoking "install.sh" scripts should
    use "bash" explicitly there to avoid issues.
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    5321f95 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#84320 - jsha:details-implementors, r=Manish…

    …earth,Nemo157,GuillaumeGomez
    
    Use details tag for trait implementors.
    
    Part of rust-lang#83332 and following on from rust-lang#83337 and rust-lang#83355.
    
    This removes one category of JS-generated toggles (implementors), and replaces them with a `<details>` tag. This simplifies the JS, and fixes some bugs where things that were supposed to be hidden by the toggle were not hidden. Compare https://hoffman-andrews.com/rust/details-implementors/std/io/trait.Read.html#impl-Read vs https://doc.rust-lang.org/nightly/std/io/trait.Read.html#implementors.
    
    This introduces a `left: -23px` to put the toggle in the correct place, matching the current style for `.collapse-toggle`.
    
    It's worth noting this introduces a slight behavior change: since the entire line is now a `<summary>`, any part of the line is clickable. So for instance, in `impl Read for File`, clicking `impl` or `for` will collapse / expand the docs. Clicking `Read` or `File` still links to the appropriate documentation as before.
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    b454469 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#84436 - jyn514:private, r=petrochenkov

    Make a few functions private
    
    These were made public in 3105bcf. This
    is so long ago I doubt anyone remembers why they're public. No one outside rustc_session uses
    them, including in-tree tools.
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    570eed7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#84453 - notriddle:waker-from-docs, r=cramertj

    Document From implementations for Waker and RawWaker
    
    CC rust-lang#51430
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    ed5646b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#84458 - jyn514:cleanup-after-krate, r=Guill…

    …aumeGomez
    
    Remove unnecessary fields and parameters in rustdoc
    
    r? `@GuillaumeGomez`
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    8d75898 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#84485 - marmeladema:trait-tests, r=jackh726

    Add some associated type bounds tests
    
    Closes rust-lang#83017
    Closes rust-lang#81193
    
    r? `@jackh726`
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    740e1f4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#84489 - amorison:issue-83969-fix, r=yaahc

    Mention FusedIterator case in Iterator::fuse doc
    
    Using `fuse` on an iterator that incorrectly implements
    `FusedIterator` does not fuse the iterator. This commit adds a
    note about this in the documentation of this method to increase
    awareness about this potential issue (esp. when relying on fuse
    in unsafe code).
    
    Closes rust-lang#83969
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    ed991a3 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#84492 - jyn514:span, r=camelid

    rustdoc: Remove unnecessary dummy span
    
    Follow-up to rust-lang#84460 (comment).
    
    r? `@camelid`
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    aae871d View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#84496 - marmeladema:specialization-test, r=…

    …JohnTitor
    
    Add some specialization tests
    
    Closes rust-lang#33017
    Closes rust-lang#51892
    
    r? `@JohnTitor`
    JohnTitor authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    ec61abf View commit details
    Browse the repository at this point in the history