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 5 pull requests #51379

Closed
wants to merge 27 commits into from

Commits on May 29, 2018

  1. Issue rust-lang#50974: Suboptimal error in case of duplicate , in s…

    …truct constructor
    lambtowolf committed May 29, 2018
    Configuration menu
    Copy the full SHA
    daa5b81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a66597d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4558a62 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b32ddd View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Fix when the help message is displayed

    Only display the "remove this comma" suggestion when followed by an identifier
    lambtowolf authored May 30, 2018
    Configuration menu
    Copy the full SHA
    8e956e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18580e2 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2018

  1. When NLL has illegal move due to borrowed content, provide feedback a…

    …bout why the move wasn't a copy.
    
    This should address rust-lang#51190.
    pnkfelix committed May 31, 2018
    Configuration menu
    Copy the full SHA
    dcc4b16 View commit details
    Browse the repository at this point in the history
  2. Drive-by: Make assignment conflict tests in borrowck-vec-pattern-nest…

    …ing.rs robust for NLL.
    pnkfelix committed May 31, 2018
    Configuration menu
    Copy the full SHA
    74002d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e99f5ec View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2018

  1. Accept .. in incorrect position to avoid further errors

    We currently give a specific message when encountering a `..` anywhere
    other than the end of a pattern. Modify the parser to accept it (while
    still emitting the error) so that we don't also trigger "missing fields
    in pattern" errors afterwards.
    estebank committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    8f4a542 View commit details
    Browse the repository at this point in the history
  2. Improve diagnostics for incorrect .. usage

    When using `..` somewhere other than the end, parse the rest of the
    pattern correctly while still emitting an error.
    
    Add suggestions to either remove trailing `,` or moving the `..` to the
    end.
    estebank committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    cbc70a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d66d35b View commit details
    Browse the repository at this point in the history
  4. [fuchsia] Migrate from launchpad to fdio_spawn_etc

    fdio_spawn_etc is the preferred way of creating processes on Fuchsia
    now.
    Adam Barth authored and cramertj committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    aa23aba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01559fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5c0d135 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9cb47de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    78d4886 View commit details
    Browse the repository at this point in the history
  9. Satisfy the untiring tidy

    oli-obk committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    13a55e8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    848080d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5950496 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8a74be6 View commit details
    Browse the repository at this point in the history
  13. Rebase fallout

    oli-obk committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    14d08e5 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#51184 - lambtowolf:master, r=nikomatsakis

    Issue rust-lang#50974 : Suboptimal error in case of duplicate `,` in struct constructor
    
    Fixes rust-lang#50974
    Mark-Simulacrum authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    8e9a5e9 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#51201 - estebank:dotdot, r=petrochenkov

    Accept `..` in incorrect position to avoid further errors
    
    We currently give a specific message when encountering a `..` anywhere
    other than the end of a pattern. Modify the parser to accept it (while
    still emitting the error) so that we don't also trigger "missing fields
    in pattern" errors afterwards.
    
    Add suggestions to either remove trailing `,` or moving the `..` to the
    end.
    
    Follow up to rust-lang#49268.
    Mark-Simulacrum authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    8ec9f4c View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#51247 - pnkfelix:issue-51190-report-type-mo…

    …ved-from-behind-borrow, r=nikomatsakis
    
    NLL: report type moved from behind borrow of array/slice
    
    When NLL has illegal move due to borrowed content in an array or slice, provide feedback about why the move wasn't a copy.
    
    Drive by: While comparing the resulting `.nll.stderr` files to their old borrowck variants, I noticed that the test for borrowck-vec-pattern-nesting.rs was not signaling some errors under NLL due to the test assuming lexical lifetimes. So I fixed that too.
    
    Fix rust-lang#51190
    Mark-Simulacrum authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    26ad9e2 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#51316 - oli-obk:const_err, r=nikomatsakis

    Refactor the const eval diagnostic API
    
    * no longer report "const eval error" for things that have typeck errors
    * errors and lints have saner spans and messages
    * unified the diagnostic logic (const eval errors were slightly different depending on where they were reported, and there was also code duplication between the different reporters)
    * report errors if an erroneous constant is used inside a promoted (fixes most of rust-lang#50814)
    Mark-Simulacrum authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    7d0d7ea View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#51359 - cramertj:fdio_spawn, r=sfackler

    [fuchsia] Migrate from launchpad to fdio_spawn_etc
    
    fdio_spawn_etc is the preferred way of creating processes on Fuchsia
    now.
    
    cc @abarth
    Mark-Simulacrum authored Jun 5, 2018
    Configuration menu
    Copy the full SHA
    5f2de72 View commit details
    Browse the repository at this point in the history