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 15 pull requests #65322

Merged
merged 49 commits into from
Oct 12, 2019
Merged

Rollup of 15 pull requests #65322

merged 49 commits into from
Oct 12, 2019

Commits on Sep 20, 2019

  1. libstd: Fix typos in doc

    rick68 committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    897d278 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Added doc about behavior of extend on HashMap

    It was unclear what the implementation does when it encounters existing keys. This change makes it clear by documenting the trait impl.
    Kixunil authored Oct 3, 2019
    Configuration menu
    Copy the full SHA
    00d9db1 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Configuration menu
    Copy the full SHA
    70c14dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e65e2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2328a7e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4eba21e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85b7aa2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c990744 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2019

  1. Add ?Sized bound to a supertrait listing in E0038 error documentation

    This example failed to compile because of implicit `Sized` bound
    for `A` parameter that wasn't required by `Trait`.
    KamilaBorowska authored Oct 8, 2019
    Configuration menu
    Copy the full SHA
    5808971 View commit details
    Browse the repository at this point in the history
  2. Fix calling function pointer const parameters. Also fixes inference of

    function pointer const parameters.
    skinnyBat committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    2afd277 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a59eb6d View commit details
    Browse the repository at this point in the history
  4. Gate use of raw and function pointers in const generics behind

    const_compare_raw_pointers.
    skinnyBat committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    cf3b561 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43badf9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9677cbe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    50ea5f4 View commit details
    Browse the repository at this point in the history
  8. Update feature gate error message

    Co-Authored-By: varkor <[email protected]>
    skinnyBat and varkor committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    16b7f44 View commit details
    Browse the repository at this point in the history
  9. Update ui tests

    skinnyBat committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    5986fe2 View commit details
    Browse the repository at this point in the history
  10. Update LLVM for Emscripten exception handling support

    Updates LLVM to pick up the cherry-picked support for correctly
    handling exception handling with aggregates passed by value. This will
    be necessary to continue to support Emscripten's exception handling
    once we switch using Emscripten's LLVM backend. See rust-lang#63649.
    tlively committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    2c81089 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7dc4bf4 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2019

  1. Configuration menu
    Copy the full SHA
    3f9d834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89cc046 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

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

    mbStavola committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    ee08114 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8569dd1 View commit details
    Browse the repository at this point in the history
  4. Mark Path::join as must_use

    I've accidentally did `mut_path_buf.jon(a_path);`, expecting this to be an in-place modification. Seems like we can easily warn in such cases?
    matklad authored Oct 10, 2019
    Configuration menu
    Copy the full SHA
    19bc0a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    847ad6a View commit details
    Browse the repository at this point in the history
  6. Update ui tests

    GuillaumeGomez committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    3c62bdc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fb392c5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f69420 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ceb4c3f View commit details
    Browse the repository at this point in the history
  10. Fix issue 65284

    varkor committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    c97d715 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2019

  1. deriving: avoid dummy Span on an artificial type_ident path

    The dummy Span pointed to the beginning of the source file instead to
    where the `#[derive]` is located. Later, it tripped the
    `in_derive_expansion(span)` check at `src/librustc/middle/stability.rs`,
    causing a span-less deprecation warning to be emitted.
    
    Fixes rust-lang#56195, rust-lang#55417.
    da-x committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    a32aec0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e285175 View commit details
    Browse the repository at this point in the history
  3. Remove painful test that is not pulling its weight

    Research suggests that we are not properly testing this case anyway, and
    even if we were, it is unlikely that we will regress here -- or, perhaps
    more accurately, if we do, I am uncertain that we care too much. It
    definitely seems like an edge case, and one that is particularly
    unlikely to occur as time goes on.
    Mark-Simulacrum committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    000fe63 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#64337 - rick68:patch-17, r=Dylan-DPC

    libstd: Fix typos in doc
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    215b091 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#64986 - skinny121:fn-ptr-const-generics, r=…

    …varkor
    
    Function pointers as const generic arguments
    
    Makes function pointers as const generic arguments usable.
    
    Fixes rust-lang#62395
    
    r? @varkor
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    ea0d155 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#65048 - Kixunil:patch-1, r=KodrAus

    Added doc about behavior of extend on HashMap
    
    It was unclear what the implementation does when it encounters existing keys. This change makes it clear by documenting the trait impl.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    ec1d008 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#65191 - varkor:const-generics-test-cases, r…

    …=nikomatsakis
    
    Add some regression tests
    
    - Add a test for rust-lang#62187.
    - Clean up the directory structure in `src/test/ui/const-generics`
    - Closes rust-lang#64792.
    - Closes rust-lang#57399.
    - Closes rust-lang#57271.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    728adc4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#65200 - xfix:patch-20, r=GuillaumeGomez

    Add ?Sized bound to a supertrait listing in E0038 error documentation
    
    This example failed to compile because of implicit `Sized` bound for `A` parameter that wasn't required by `Trait`.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    6687edc View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#65205 - GuillaumeGomez:long-err-explanation…

    …-E0568, r=estebank
    
    Add long error explanation for E0568
    
    Part of rust-lang#61137.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    7a2bb04 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#65220 - tlively:update-llvm-for-emscripten-…

    …exceptions, r=nikic
    
    Update LLVM for Emscripten exception handling support
    
    Updates LLVM to pick up the cherry-picked support for correctly
    handling exception handling with aggregates passed by value. This will
    be necessary to continue to support Emscripten's exception handling
    once we switch using Emscripten's LLVM backend. See rust-lang#63649.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    2403c37 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#65263 - mbStavola:dedup-raw-item-fns, r=Cen…

    …tril
    
    Deduplicate is_{freeze,copy,sized}_raw
    
    Fixes rust-lang#65259
    
    Deduplicates `is_{freeze,copy,sized}_raw` by delegating to a new method which takes in a `LangItem`.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    e4eb54d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#65266 - rust-lang:must-use-join, r=dtolnay

    Mark Path::join as must_use
    
    I've accidentally did `mut_path_buf.jon(a_path);`, expecting this to be an in-place modification. Seems like we can easily warn in such cases?
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    48051e4 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#65276 - varkor:toolstate-no-ping, r=Mark-Si…

    …mulacrum
    
    Don't cc rust-lang/compiler for toolstate changes
    
    Fixes rust-lang#65238.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    9917f06 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#65277 - csmoe:fix-move, r=estebank

    Query generator kind for error reporting
    
    Fixes rust-lang#65166 (comment)
    r? @estebank
    cc @cramertj
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    60482be View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#65283 - petrochenkov:softstab2, r=estebank

    stability: Do not use `buffer_lint` after lowering to HIR
    
    Fixes rust-lang#65253
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    976a57a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#65289 - varkor:issue-65284, r=estebank

    Fix suggested bound addition diagnostic
    
    Fixes rust-lang#65284.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    811bd38 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#65310 - da-x:issue-56195, r=petrochenkov

    deriving: avoid dummy Span on an artificial `type_ident` path
    
    The dummy Span pointed to the beginning of the source file instead to where the `#[derive]` is located. Later, it tripped the `in_derive_expansion(span)` check at `src/librustc/middle/stability.rs`, causing a span-less deprecation warning to be emitted.
    
    Fixes rust-lang#56195, Fixes rust-lang#55417.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    c8e3c51 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#65321 - Mark-Simulacrum:remove-linker-no-ut…

    …f8-test, r=nikomatsakis
    
    Remove painful test that is not pulling its weight
    
    Research suggests that we are not properly testing this case anyway, and
    even if we were, it is unlikely that we will regress here -- or, perhaps
    more accurately, if we do, I am uncertain that we care too much. It
    definitely seems like an edge case, and one that is particularly
    unlikely to occur as time goes on.
    
    Fixes rust-lang#63520
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    b93203f View commit details
    Browse the repository at this point in the history