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

Closed
wants to merge 45 commits into from
Closed

Commits on May 24, 2019

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

Commits on May 25, 2019

  1. Reword are not other to are no other

    Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
    czipperz and jonas-schievink authored May 25, 2019
    Configuration menu
    Copy the full SHA
    fbe9f16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b34b714 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2019

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

Commits on Jun 1, 2019

  1. Add an unusual-conversion example to to_uppercase

    Like how to_lowercase has ὈΔΥΣΣΕΎΣ.
    scottmcm committed Jun 1, 2019
    Configuration menu
    Copy the full SHA
    dfd9d04 View commit details
    Browse the repository at this point in the history
  2. Succinctify splice docs

    felixrabe authored Jun 1, 2019
    Configuration menu
    Copy the full SHA
    7bdc38d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    911d205 View commit details
    Browse the repository at this point in the history
  4. Elide lifetimes not used

    Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
    czipperz and Centril authored Jun 1, 2019
    Configuration menu
    Copy the full SHA
    c25b3df View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2019

  1. Add self parameter

    czipperz committed Jun 2, 2019
    Configuration menu
    Copy the full SHA
    a39fffe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a6a5c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a3b29e View commit details
    Browse the repository at this point in the history
  4. Add test

    czipperz committed Jun 2, 2019
    Configuration menu
    Copy the full SHA
    7feeaf0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb73b73 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. Configuration menu
    Copy the full SHA
    fea2cdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2be25e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2b27c62 View commit details
    Browse the repository at this point in the history
  4. syntax: revert ast::AsyncArgument and associated changes.

    Here follows the main reverts applied in order to make this commit:
    
    Revert "Rollup merge of rust-lang#60676 - davidtwco:issue-60674, r=cramertj"
    
    This reverts commit 45b0945, reversing
    changes made to f6df1f6.
    
    Revert "Rollup merge of rust-lang#60437 - davidtwco:issue-60236, r=nikomatsakis"
    
    This reverts commit 16939a5, reversing
    changes made to 12bf981.
    
    Revert "Rollup merge of rust-lang#59823 - davidtwco:issue-54716, r=cramertj"
    
    This reverts commit 62d1574, reversing
    changes made to 4eff852.
    eddyb authored and davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    d0c78dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3277107 View commit details
    Browse the repository at this point in the history
  6. rustc: async fn drop order lowering in HIR

    This commit re-implements the async fn drop order lowering changes so
    that it all takes place in HIR lowering, building atop the work done by
    `@eddyb` to refactor `Res::Upvar`.
    
    Previously, this types involved in the lowering were constructed in
    libsyntax as they had to be used during name resolution and HIR
    lowering. This was awful because none of that logic should have existed
    in libsyntax.
    
    This commit also changes `ArgSource` to keep a `HirId` to the original
    argument pattern rather than a cloned copy of the pattern.
    davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    1e5f496 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80df64b View commit details
    Browse the repository at this point in the history
  8. rustc: remove HirId from ArgSource::AsyncFn

    This commit removes the `HirId` from `ArgSource::AsyncFn`, relying on
    the fact that only `simple_ident` is used in each of the locations that
    previously took the original pattern from the `ArgSource::AsyncFn`.
    davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    5e3b41e View commit details
    Browse the repository at this point in the history
  9. rustc: use lowering helpers

    This commit changes the lowering to stop creating HIR statements,
    expressions and patterns directly and instead uses the pre-existing
    helper functions.
    davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    3ebe9ab View commit details
    Browse the repository at this point in the history
  10. rustc: construct statement vector directly

    This commit simplifies the previous logic to construct the statement
    vector directly rather than constructing a `Vec` of
    `(hir::Stmt, Option<hir::Stmt>)` first.
    davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    3c7e0eb View commit details
    Browse the repository at this point in the history
  11. rustc: remove ArgSource

    `ArgSource` is no longer used anywhere, so it can be removed.
    davidtwco committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    2bb92aa View commit details
    Browse the repository at this point in the history
  12. ci: Reenable step timings on AppVeyor

    This was accidentally regressed in rust-lang#60777 by accident, and we've stopped
    printing out step timings on AppVeyor recently reducing the ability for
    us to track build times over time!
    alexcrichton committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    b87bad7 View commit details
    Browse the repository at this point in the history
  13. Utilize cfg(bootstrap) over cfg(stage0)

    Also removes stage1, stage2 cfgs being passed to rustc to ensure that
    stage1 and stage2 are only differentiated as a group (i.e., only through
    not bootstrap).
    Mark-Simulacrum committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    d04d56d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    242056c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    41dd21a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1c6dce8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5ce3c81 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Rollup merge of rust-lang#61135 - czipperz:rc-make_mut-weak-doc, r=Ma…

    …rk-Simulacrum
    
    Fix documentation of `Rc::make_mut` regarding `rc::Weak`.
    
    Closes rust-lang#60961
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    47efa49 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#61404 - RalfJung:miri-unsize, r=oli-obk

    miri unsizing: fix projecting into a field of an operand
    
    I don't know why this open-coded an operand field projection. Probably this code predates one or more of my refactorings.
    
    Fixes rust-lang/miri#754
    
    r? @oli-obk
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    6e06f52 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#61409 - varkor:condition-trait-param-ice, r…

    …=oli-obk
    
    Fix an ICE with a const argument in a trait
    
    This goes some way towards fixing rust-lang#61383 (the reduced test case is fixed).
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    da9869e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#61413 - davidtwco:async-argument-order-in-a…

    …-sane-way, r=eddyb
    
    Re-implement async fn drop order lowering
    
    This PR re-implements the async fn drop order lowering changes so
    that it all takes place in HIR lowering, building atop the work done by
    @eddyb to refactor `Res::Upvar`.
    
    Previously, this types involved in the lowering were constructed in
    libsyntax as they had to be used during name resolution and HIR
    lowering. This was awful because none of that logic should have existed
    in libsyntax.
    
    This commit also changes `ArgSource` to keep a `HirId` to the original
    argument pattern rather than a cloned copy of the pattern.
    
    Only b7aa4ed and 71fb8fa should be reviewed, any other commits
    are from rust-lang#61276 (though 447e336 might end up staying in this PR).
    
    As a nice side effect, it also fixes rust-lang#61187 (cc rust-lang#61192).
    
    r? @eddyb
    cc @cramertj
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    af87f0a View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#61419 - scottmcm:casing-is-on-strings, r=cr…

    …amertj
    
    Add an unusual-conversion example to to_uppercase
    
    Like how to_lowercase has ὈΔΥΣΣΕΎΣ.
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    616c590 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#61420 - felixrabe:patch-2, r=dtolnay

    Succinctify splice docs
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    5b3b061 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#61444 - estebank:const-pt-as-ref, r=matthew…

    …jasper
    
    Suggest using `as_ref` on `*const T`
    
    Fix rust-lang#21596.
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    6ab418a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#61446 - czipperz:nll-unused_mut, r=matthewj…

    …asper
    
    On TerminatorKind::DropAndReplace still handle unused_mut correctly
    
    Closes rust-lang#61424
    
    - [x] Todo add regression test
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    ae4939e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#61485 - pietroalbini:retry-azure-upload, r=…

    …alexcrichton
    
    azure: retry s3 upload if it fails
    
    We had some cases (like [this](https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_apis/build/builds/370/logs/734) a few hours ago) when uploading to S3 fails with a network error. This retries the upload if it fails.
    
    r? @alexcrichton
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    ec206f2 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#61489 - alexcrichton:appveyor-timings, r=pi…

    …etroalbini
    
    ci: Reenable step timings on AppVeyor
    
    This was accidentally regressed in rust-lang#60777 by accident, and we've stopped
    printing out step timings on AppVeyor recently reducing the ability for
    us to track build times over time!
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    6595c22 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#61494 - Mark-Simulacrum:move-to-cfg-bootstr…

    …ap, r=alexcrichton
    
    Utilize cfg(bootstrap) over cfg(stage0)
    
    Also removes stage1, stage2 cfgs being passed to rustc to ensure that
    stage1 and stage2 are only differentiated as a group (i.e., only through
    not bootstrap).
    
    Fixes rust-lang#53582
    
    r? @alexcrichton
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    f295365 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#61496 - Mark-Simulacrum:tidy-unbalanced-par…

    …ens, r=varkor
    
    Do not panic in tidy on unbalanced parentheses in cfg's
    
    Fixes rust-lang#60505
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    994ddbd View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#61497 - Mark-Simulacrum:codegen-units-std-n…

    …um-cpus, r=alexcrichton
    
    Treat 0 as special value for codegen-units-std
    
    Fixes rust-lang#57669
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    13d2364 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#61499 - varkor:issue-53457, r=oli-obk

    Add regression test for existential type ICE rust-lang#53457
    
    Closes rust-lang#53457.
    Centril authored Jun 4, 2019
    Configuration menu
    Copy the full SHA
    70865fc View commit details
    Browse the repository at this point in the history