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 12 pull requests #65299

Closed
wants to merge 68 commits into from
Closed

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. 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. Cache the DepNodeIndex of upstream crates in order to avoid multiple …

    …locks and table lookups on each access of crate metadata.
    michaelwoerister committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    9dbd7be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    003d5a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ee6a96 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    89cc046 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4bb1592 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
    a9853fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a185061 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    019fba8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8569dd1 View commit details
    Browse the repository at this point in the history
  7. 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
  8. Configuration menu
    Copy the full SHA
    847ad6a View commit details
    Browse the repository at this point in the history
  9. 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
  10. Configuration menu
    Copy the full SHA
    fb392c5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9f69420 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e8af4c1 View commit details
    Browse the repository at this point in the history
  13. expand: Simplify expansion of derives

    And make it more uniform with other macros.
    By merging placeholders for future derives' outputs into the derive container's output fragment early.
    petrochenkov committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    1270140 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ceb4c3f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    06a02b5 View commit details
    Browse the repository at this point in the history
  16. 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. 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
    4fde07d View commit details
    Browse the repository at this point in the history
  2. 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
    54769b0 View commit details
    Browse the repository at this point in the history
  3. 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
    a12b9c0 View commit details
    Browse the repository at this point in the history
  4. 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
    ece23fc View commit details
    Browse the repository at this point in the history
  5. 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
    c4a9302 View commit details
    Browse the repository at this point in the history
  6. 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
    b37301a View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#65240 - michaelwoerister:sp-review-3, r=Mar…

    …k-Simulacrum
    
    self-profiling: Add events for metadata loading (plus a small dep-tracking optimization)
    
    This PR
    - adds self-profiling events related to loading things from crate metadata
    - makes the compiler cache the `DepNodeIndex` of upstream crates, so that they don't have to be looked up over and over.
    
    The commits are best reviewed in isolation.
    
    Self-profiling tracking issue: rust-lang#58967
    
    r? @Mark-Simulacrum
    cc @wesleywiser
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    5d55d46 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#65248 - estebank:mention-if-let, r=cramertj

    Suggest `if let` on `let` refutable binding
    
    Fix rust-lang#58385.
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    f0dbdd6 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#65252 - petrochenkov:deriveholders2, r=matt…

    …hewjasper
    
    expand: Simplify expansion of derives
    
    And make it more uniform with other macros.
    This is done by merging placeholders for future derives' outputs into the derive container's output fragment early (addressing FIXMEs from rust-lang#63667).
    
    Also, macros with names starting with `_` are no longer reported as unused, in accordance with the usual behavior of `unused` lints.
    
    r? @matthewjasper or @mark-i-m
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    4180187 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#65263 - mbStavola:dedup-raw-item-fns, r=Cen…

    …tril
    
    Deduplicate is_{freeze,copy,sized}_raw
    
    Addresses 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
    4e7633d View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#65265 - GuillaumeGomez:cleanup-librustc_mir…

    …-err-codes, r=Mark-Simulacrum
    
    Cleanup librustc mir err codes
    
    Three things are done in this PR:
    
     * Sort error codes
     * Uncomment an error code long error explanation (they should **never** be commented)
     * Unify explanations
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    1d70283 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
    8be5481 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
    f1d2d95 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
    2252ea1 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
    1cecbff 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
    9f143a7 View commit details
    Browse the repository at this point in the history
  17. 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
    1f8aa05 View commit details
    Browse the repository at this point in the history
  18. 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
    5670c7f View commit details
    Browse the repository at this point in the history
  19. 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
    b851efb View commit details
    Browse the repository at this point in the history
  20. 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
    c2e7af5 View commit details
    Browse the repository at this point in the history
  21. 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
    873f251 View commit details
    Browse the repository at this point in the history
  22. 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
    b5c4a82 View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#65263 - mbStavola:dedup-raw-item-fns, r=Cen…

    …tril
    
    Deduplicate is_{freeze,copy,sized}_raw
    
    Addresses 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
    f55e9b9 View commit details
    Browse the repository at this point in the history
  24. 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
    d26439d View commit details
    Browse the repository at this point in the history
  25. 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
    7ed57bb View commit details
    Browse the repository at this point in the history
  26. 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
    d2501c2 View commit details
    Browse the repository at this point in the history
  27. 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
    1346802 View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#65297 - tmandry:rollup-pe7a2i2, r=tmandry

    Rollup of 16 pull requests
    
    Successful merges:
    
     - rust-lang#64337 (libstd: Fix typos in doc)
     - rust-lang#64986 (Function pointers as const generic arguments)
     - rust-lang#65048 (Added doc about behavior of extend on HashMap)
     - rust-lang#65191 (Add some regression tests)
     - rust-lang#65200 (Add ?Sized bound to a supertrait listing in E0038 error documentation)
     - rust-lang#65205 (Add long error explanation for E0568)
     - rust-lang#65240 (self-profiling: Add events for metadata loading (plus a small dep-tracking optimization))
     - rust-lang#65248 (Suggest `if let` on `let` refutable binding)
     - rust-lang#65252 (expand: Simplify expansion of derives)
     - rust-lang#65263 (Deduplicate is_{freeze,copy,sized}_raw)
     - rust-lang#65265 (Cleanup librustc mir err codes)
     - rust-lang#65266 (Mark Path::join as must_use)
     - rust-lang#65276 (Don't cc rust-lang/compiler for toolstate changes)
     - rust-lang#65277 (Query generator kind for error reporting)
     - rust-lang#65283 (stability: Do not use `buffer_lint` after lowering to HIR)
     - rust-lang#65289 (Fix suggested bound addition diagnostic)
    
    Failed merges:
    
    r? @ghost
    tmandry authored Oct 11, 2019
    Configuration menu
    Copy the full SHA
    c7c6cbf View commit details
    Browse the repository at this point in the history