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

Merged
merged 30 commits into from
Jul 13, 2021
Merged

Rollup of 11 pull requests #87095

merged 30 commits into from
Jul 13, 2021

Commits on Jun 16, 2021

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

Commits on Jun 24, 2021

  1. Add another example

    est31 committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    5585cce View commit details
    Browse the repository at this point in the history
  2. Fix grammar mistake

    present perfect passive constructions need to use the past participle form,
    which for run is "run".
    est31 committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    8e328be View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

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

Commits on Jul 3, 2021

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

Commits on Jul 5, 2021

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

Commits on Jul 9, 2021

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

Commits on Jul 10, 2021

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

Commits on Jul 11, 2021

  1. Configuration menu
    Copy the full SHA
    60ff731 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79f0743 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d1daf8 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. ⬆️ rust-analyzer

    lnicola committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    5712148 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3dab2d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8baac5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da6d82e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bd81949 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6b26640 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    848a621 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    166c147 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#86344 - est31:maybe-uninit-extra, r=RalfJung

    Split MaybeUninit::write into new feature gate and stabilize it
    
    This splits off the `MaybeUninit::write` function from the `maybe_uninit_extra` feature gate into a new `maybe_uninit_write` feature gate and stabilizes it.
    
    Earlier work to improve the documentation of the write function: rust-lang#86220
    
    Tracking issue: rust-lang#63567
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    b507cd1 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#86811 - soerenmeier:remove_remaining, r=yaahc

    Remove unstable `io::Cursor::remaining`
    
    Adding `io::Cursor::remaining` in rust-lang#86037 caused a conflict with the implementation of `bytes::Buf` for `io::Cursor`, leading to an error in nightly, see rust-lang#86369 (comment).
    
    This fixes the error by temporarily removing the `remaining` function.
    
    r? `@yaahc`
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    749a589 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#86846 - tlyu:stdio-locked-tracking, r=josht…

    …riplett
    
    stdio_locked: add tracking issue
    
    Add the tracking issue number rust-lang#86845 to the stability attributes for the implementation in rust-lang#86799.
    
    r? `@joshtriplett`
    `@rustbot` label +A-io +C-cleanup +T-libs-api
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    bcacfe7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#86887 - jyn514:cleanup-clean, r=CraftSpider

    rustdoc: remove dead code in `clean`
    
    Builds on rust-lang#86886 and should not be merged before.
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    a499273 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#87007 - ehuss:fix-rust-analyzer-install, r=…

    …Mark-Simulacrum
    
    Fix rust-analyzer install when not available.
    
    This changes it so that `x.py install` won't fail if rust-analyzer isn't available. This was changed in rust-lang#86568 to handle the case where installing on stable/beta, and `extended=true`, to skip rust-analyzer. But I neglected to update the install part to also ignore it.
    
    Fixes rust-lang#86999
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    2d9a038 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#87035 - GuillaumeGomez:fix-implementors-dis…

    …play, r=notriddle
    
    Fix implementors display
    
    Part of rust-lang#86632.
    
    This PR does a few things:
     * It fixes of the JS rendered implementors.
     * It generates anchors for JS rendered implementors to make it coherent with the others.
     * It adds a test to ensure that we won't have the same issue again.
     * It changes the way we render the rustdoc-gui crates to simplify it a bit and also to allow to have dependencies without going through compiletest.
    
    Before:
    
    ![Screenshot from 2021-07-10 13-30-13](https://user-images.githubusercontent.com/3050060/125174172-b4048700-e1c3-11eb-8f0e-c46081371d4f.png)
    
    After:
    
    ![Screenshot from 2021-07-10 21-11-15](https://user-images.githubusercontent.com/3050060/125174173-b49d1d80-e1c3-11eb-8740-1dbbff70c2eb.png)
    
    I plan to add the `[src]` links in another PR because this one is already big enough.
    
    cc `@Mark-Simulacrum` (for the bootstrap changes)
    
    r? `@Nemo157`
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    fab45bf View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#87065 - FabianWolff:issue-87046, r=oli-obk

    Fix ICE with unsized type in const pattern
    
    Fixes rust-lang#87046. The `deref_const()` query currently contains the following check:
    https://github.com/rust-lang/rust/blob/e9a387d6cf5961a7f2dcb671da3147bd413355c4/compiler/rustc_mir/src/const_eval/mod.rs#L191-L204
    
    i.e. this will cause an ICE for every unsized type except slices. An error is reported with my changes if such a type is used as a const pattern (this should not be a breaking change, since so far, this has caused an ICE).
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    47a4184 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#87070 - ehuss:simplify-future-report, r=oli…

    …-obk
    
    Simplify future incompatible reporting.
    
    This simplifies the implementation of the future incompatible reporting system. Instead of having a separate field in the future_incompatible definition, this reuses the `FutureIncompatibilityReason` enum. It also drops the "date" field. Cargo does not use the date field, and there isn't much of a need for this to be structured, and I am skeptical that the date can be predicted reliably. The date or release version can be listed in the lint text if desired.
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    8d4293c View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#87077 - lnicola:rust-analyzer-2021-07-12, r…

    …=lnicola
    
    ⬆️ rust-analyzer
    
    `@bors` r+
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    4eba19a View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#87078 - fee1-dead:rustdoc, r=jyn514

    Rustdoc: suggest removing disambiguator if linking to field
    
    This fixes rust-lang#85615.
    
    `@rustbot` label T-rustdoc
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    15af98d View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#87089 - RalfJung:ctfe-memory-cleanup, r=oli…

    …-obk
    
    CTFE engine: small cleanups
    
    I noticed these while preparing a large PR, and figured I'd better send them ahead to not muddy the diff unnecessarily.
    
    - remove remaining use of Pointer in Allocation API (I missed those in rust-lang#85472)
    - remove unnecessary deallocate_local hack (this logic does not seem necessary any more)
    
    r? `@oli-obk`
    JohnTitor committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    e46b790 View commit details
    Browse the repository at this point in the history