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 16 pull requests #59885

Closed
wants to merge 57 commits into from
Closed

Commits on Mar 31, 2019

  1. Configuration menu
    Copy the full SHA
    438f6b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ea959d View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2019

  1. Configuration menu
    Copy the full SHA
    e65c0ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3344ca7 View commit details
    Browse the repository at this point in the history
  3. Fix tidy

    Aaron1011 committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    591e503 View commit details
    Browse the repository at this point in the history
  4. Fix tests

    Aaron1011 committed Apr 1, 2019
    Configuration menu
    Copy the full SHA
    9ebc97a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1907367 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. Improve formatting

    Aaron1011 committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    7f033b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c1446d View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. Add documentation on the -Z flag on the command-line arguments sectio…

    …n in the rustc book.
    Christian committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    5c7a944 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. Configuration menu
    Copy the full SHA
    968ea1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    894142d View commit details
    Browse the repository at this point in the history
  3. Add discr_index to multi-variant layouts

    We relax the assumption that the discriminant is always field 0, in
    preparations for layouts like generators where this is not going to be
    the case.
    tmandry committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    ec2a144 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Configuration menu
    Copy the full SHA
    6d062a1 View commit details
    Browse the repository at this point in the history
  2. Make check_name generic

    Zoxc committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    907ad61 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    f442fd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38524a9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d082400 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ecca38 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f25075 View commit details
    Browse the repository at this point in the history
  6. Remove cg_llvm/back/link.rs

    bjorn3 committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    ba48f6c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9814dc8 View commit details
    Browse the repository at this point in the history
  8. Tidy

    bjorn3 committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    c922dec View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Configuration menu
    Copy the full SHA
    da5f1bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef33748 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    278efd1 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. compiletest: Improve no_prefer_dynamic docs

    This adds some extra docs for the `no-prefer-dynamic` header.
    
    And also a `s/must_compile_successfully/compile_pass`.
    
    `must_compile_successfully` has been renamed to `compile_pass` at some
    point in the past and this comment was still referring to the old name.
    phansch committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    edebed9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01be78d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6786fa7 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Fix ExternEntry test

    Aaron1011 committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    7d3eba3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59c8a18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86a3b9d View commit details
    Browse the repository at this point in the history
  4. Use colon for keyword defs

    Zoxc committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    30a86cf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3262d1e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    757ef38 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb15d2f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3e01901 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. std::ops::Div examples: correct nominator to numerator

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    3826493 View commit details
    Browse the repository at this point in the history
  2. Updated the documentation, now claiming the -Z is associated to unsta…

    …ble compiler flags, instead of flags for debugging.
    Christian committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    7acfa45 View commit details
    Browse the repository at this point in the history
  3. Updated the description of -Z in the rustc book.

    Christian committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    cdeb745 View commit details
    Browse the repository at this point in the history
  4. SGX target: fix cfg(test) build

    Jethro Beekman committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    e2d1d66 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Rollup merge of rust-lang#59227 - Zoxc:fix-get, r=eddyb

    Fix lifetime on LocalInternedString::get function
    
    cc @eddyb @nnethercote
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    fa3b1c3 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#59335 - Aaron1011:fix/extern-priv-final, r=…

    …petrochenkov
    
    Properly parse '--extern-private' with name and path
    
    It turns out that rust-lang#57586 didn't properly parse `--extern-private name=path`.
    
    This PR properly implements the `--extern-private` option. I've added a new `extern-private` option to `compiletest`, which causes an `--extern-private` option to be passed to the compiler with the proper path.
    
    Part of rust-lang#44663
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    2f9f15b View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#59564 - bjorn3:move_link_to_cg_ssa, r=eddyb

    Move back::link and debuginfo::type_names to cg ssa
    
    r? @eddyb
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    ef896aa View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#59622 - GuillaumeGomez:improve-one-char-sea…

    …rch, r=QuietMisdreavus
    
    Ensure that exact matches come first in rustdoc search
    
    Fixes rust-lang#59287.
    
    cc @scottmcm
    
    r? @QuietMisdreavus
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    a5d5f8d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59651 - tmandry:discr-index, r=eddyb

     Add discr_index to multi-variant layouts
    
    We remove the assumption that the discriminant is always field 0, in
    preparations for layouts like generators where this is not (always) going to be
    the case.
    
    Specifically, upvars are going to go before the discriminant. In theory, it's possible to remove _that_ assumption instead and keep the discriminant at field index 0, but one assumption or the other had to go :)
    
    There is one place I know of in the debuginfo code where we'll still need to remove assumptions that the discriminant is the _only_ field. I was planning on doing this along with the upcoming generator change, which will also include tests that exercise the code changing in this PR.
    
    r? @eddyb
    cc @oli-obk
    cc @cramertj
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    5130fd6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59655 - Zoxc:symbols, r=petrochenkov

    Use a proc macro to declare preallocated symbols
    
    r? @petrochenkov
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    e4950c7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59680 - DevQps:document-rustc-z-flag, r=cra…

    …mertj
    
    Document the -Z flag to the rustc book
    
    # Description
    
    Changes:
    - Added new documentation on the `-Z` flag of rustc in the command-line arguments section of the rustc book.
    
    If I need to rephrase anything or if you have any improvements, please let me know! I deliberately did not create an exhaustive list of all options since they are likely to change over time and per toolchain version.
    
    closes rust-lang#41142
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    37cb3ee View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59708 - matthewjasper:double-closure-unused…

    …-mut, r=pnkfelix
    
    Mark variables captured by reference as mutable correctly
    
    Closes rust-lang#59620
    
    r? @pnkfelix
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    c9e320d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59711 - GuillaumeGomez:substring-test, r=Qu…

    …ietMisdreavus
    
    Add back the substring test
    
    Fixes rust-lang#58331.
    
    r? @QuietMisdreavus
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    b9a99b9 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59733 - cramertj:wake-by-ref, r=withoutboats

    Final (one can only hope) futures_api adjustments
    
    Based on rust-lang#59119 -- this change is only the latter two commits.
    cc rust-lang#59725
    
    r? @withoutboats
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    33fc12a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#59806 - phansch:compiletest_docs2, r=oli-obk

    compiletest: Improve no_prefer_dynamic docs
    
    This adds some extra docs for the `no-prefer-dynamic` header.
    
    And also a `s/must_compile_successfully/compile_pass`.
    
    `must_compile_successfully` has been renamed to `compile_pass` at some
    point in the past and this comment was still referring to the old name.
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    5ca16c6 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#59811 - vext01:dead-dominator-code, r=oli-obk

    Kill dead code dominator code.
    
    Hi,
    
    Whilst fiddling around in the dominator code, I found some (I think) unused code. This code *was* used at the time it was imported, but over time it seems to have become redundant.
    
    I've tested a build up to stage 1 with no problems. Maybe the tests will turn up something though.
    
    P.S.
    
    There is a FIXME comment in `dominators/mod.rs`:
    ```
        pub fn is_dominated_by(&self, node: Node, dom: Node) -> bool {
            // FIXME -- could be optimized by using post-order-rank
            self.dominators(node).any(|n| n == dom)
        }
    ```
    
    I'm not sure of the intention of this comment. The `Dominators` struct already operates over post-order rank nodes. Any ideas?
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    546af18 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#59821 - euclio:unknown-enum-variants, r=dav…

    …idtwco
    
    improve unknown enum variant errors
    
    Fixes rust-lang#56517.
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    0fa4ce7 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#59831 - ehuss:ordering-docs, r=kennytm

    Remove strange formatting in `Ordering` docs.
    
    I can't really fathom what the intent of the brackets is. The [original PR](rust-lang#12956) doesn't give any hints. I think it seems fine without them.
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    e40fa0d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#59836 - andersk:nominator, r=Centril

    std::ops::Div examples: correct nominator to numerator
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    d951a91 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#59857 - jethrogb:jb/sgx-test, r=Centril

    SGX target: fix cfg(test) build
    cramertj authored Apr 11, 2019
    Configuration menu
    Copy the full SHA
    3215b70 View commit details
    Browse the repository at this point in the history