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 14 pull requests #74375

Merged
merged 31 commits into from
Jul 16, 2020
Merged

Rollup of 14 pull requests #74375

merged 31 commits into from
Jul 16, 2020

Commits on Jul 1, 2020

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

Commits on Jul 2, 2020

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

Commits on Jul 7, 2020

  1. Remove Compiler::compile().

    It's unused.
    nnethercote committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    6582240 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2020

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

Commits on Jul 10, 2020

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

Commits on Jul 11, 2020

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

Commits on Jul 13, 2020

  1. Update cross-compilation README

    Martin Sirringhaus committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    304f008 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Martin Sirringhaus committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    e1106ca View commit details
    Browse the repository at this point in the history
  3. Move all code-snippets to /tmp/ as basedir

    Martin Sirringhaus committed Jul 13, 2020
    Configuration menu
    Copy the full SHA
    92e010e View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Configuration menu
    Copy the full SHA
    538f157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c44ca17 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2020

  1. Handle case of incomplete local ty more gracefully

    When encountering a local binding with a type that isn't completed, the
    parser will reach a `=` token. When this happen, consider the type
    "complete" as far as the parser is concerned to avoid further errors
    being emitted by parse recovery logic.
    estebank committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    ce3bd29 View commit details
    Browse the repository at this point in the history
  2. Edit docs for rustc_middle::dep_graph::dep_node

    Fixes some missing punctuation, and adds a blank line
    for a more concise summary.
    pierwill committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    6a783af View commit details
    Browse the repository at this point in the history
  3. improve DiscriminantKind handling

    This now reuses `fn discriminant_ty` in project, removing
    some code duplication. Doing so made me realize that
    we previously had a disagreement about the discriminant
    type of generators, with MIR using `u32` and codegen and
    trait selection using `i32`.
    
    We now always use `u32`.
    lcnr committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    fcf52c1 View commit details
    Browse the repository at this point in the history
  4. Initialize default providers only once

    This avoids copying a new `Providers` struct for each downstream crate
    that wants to use it.
    jyn514 committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    f6764c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    39d99ea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2ba58f9 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72973 - msizanoen1:riscv-host, r=pietroalbini

    RISC-V GNU/Linux as host platform
    
    This PR add a new builder named `dist-riscv64-linux` that builds the compiler toolchain for RISC-V 64-bit GNU/Linux.
    
    r? @alexcrichton
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    af3d4cb View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#73918 - GuillaumeGomez:cleanup-e0715, r=Dyl…

    …an-DPC
    
    Clean up E0715 explanation
    
    r? @Dylan-DPC
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    7307af1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#73959 - GuillaumeGomez:cleanup-e0716, r=Dyl…

    …an-DPC
    
    Clean up E0716 explanation
    
    r? @Dylan-DPC
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    1527126 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#74119 - nnethercote:rm-Compiler-compile, r=…

    …Mark-Simulacrum
    
    Remove `Compiler::compile()`.
    
    It's unused.
    
    r? @Mark-Simulacrum
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0bb16c8 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#74196 - GuillaumeGomez:auto-collapse-implem…

    …entors, r=Manishearth
    
    Add option to collapse automatically implementors
    
    Fixes rust-lang#73403
    
    It adds an option (enabled by default) which collapses all implementors impl blocks.
    
    r? @kinnison
    cc @rust-lang/rustdoc
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    efad203 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#74218 - GuillaumeGomez:search-results-botto…

    …m-margin, r=Dylan-DPC
    
    Add margin after doc search results
    
    I found it not really on computer that the last result is right at the bottom of the page. I find it better with margin below (especially when you hover the last element!). A screenshot to show the result:
    
    ![Screenshot from 2020-07-10 16-32-23](https://user-images.githubusercontent.com/3050060/87166097-6103a580-c2cb-11ea-81a8-12772cf20f64.png)
    
    r? @kinnison
    cc @rust-lang/rustdoc @Manishearth @jyn514
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0d07db9 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#74276 - lcnr:discriminant-kind-what, r=nagisa

    improve DiscriminantKind handling
    
    Adds a lang item `discriminant_type` for the associated type `DiscriminantKind::Discriminant`.
    
    Changes the discriminant of generators from `i32` to `u32`, which should not be observable to fix an
    oversight where MIR was using `u32` and codegen and typeck used `i32`.
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    47f6a9d View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#74291 - regexident:from-docs, r=GuillaumeGomez

    Added docs for `From<c_int>` for `ExitStatus`
    
    Partially addresses rust-lang#51430
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    b7cf2cb View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#74294 - msirringhaus:master, r=pietroalbini

    Update cross-compilation README
    
    README seemed rather out of date. I hope the information in my PR is now correct (it was more or less assembled by asking in zulip and learning-by-doing).
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    64a2788 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#74337 - estebank:ty-parse-recovery, r=varkor

    Handle case of incomplete local ty more gracefully
    
    When encountering a local binding with a type that isn't completed, the
    parser will reach a `=` token. When this happen, consider the type
    "complete" as far as the parser is concerned to avoid further errors
    being emitted by parse recovery logic.
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    f4bbd0e View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#74344 - estebank:stringly-wobbly, r=eddyb

    Remove string comparison and use diagnostic item instead
    
    r? @eddyb
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    bee2899 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#74347 - jyn514:ive-got-a-small-query-for-yo…

    …u, r=eddyb
    
    Initialize default providers only once
    
    This avoids copying a new `Providers` struct for each downstream crate
    that wants to use it.
    
    Follow-up to rust-lang#74283 without the perf hit.
    
    r? @eddyb
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    dceafac View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#74353 - pierwill:pierwill-edit-dep-node, r=…

    …jonas-schievink
    
    Edit docs for rustc_middle::dep_graph::dep_node
    
    Fixes some missing punctuation, and adds a blank line for a more concise summary.
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    c43a115 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#74374 - cuviper:lto-bitcode-1.45, r=Mark-Si…

    …mulacrum
    
    Add a 1.45 release note on lto vs. embed-bitcode
    
    I added a bullet for Cargo's use of `embed-bitcode`, since that was even noteworthy enough for the Inside Rust blog. Then more importantly, I added a compatibility note for how this may interact poorly with manually enabling LTO.
    
    r? @Mark-Simulacrum
    Manishearth committed Jul 15, 2020
    Configuration menu
    Copy the full SHA
    0bde1c3 View commit details
    Browse the repository at this point in the history