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 7 pull requests #42990

Closed
wants to merge 35 commits into from
Closed

Commits on Jun 27, 2017

  1. Document possible io::ErrorKinds of fs::open

    Try to make clear that this isn't an API guarantee for now, as we likely
    want to refine these errors in the future, e.g. `ENOSPC` "No space left
    on device".
    
    CC rust-lang#40322
    tbu- committed Jun 27, 2017
    Configuration menu
    Copy the full SHA
    71252d9 View commit details
    Browse the repository at this point in the history
  2. Update RLS submodule

    nrc committed Jun 27, 2017
    Configuration menu
    Copy the full SHA
    3dad197 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2017

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

Commits on Jun 29, 2017

  1. Adding diagnostic code 0611 for lifetime errors with one named, one a…

    …nonymous lifetime parameter
    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    176225c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5df7a2c View commit details
    Browse the repository at this point in the history
  3. update reference for test

    nikomatsakis authored and gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    4bed5f0 View commit details
    Browse the repository at this point in the history
  4. Interchange ^ and -

    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    ae92bd0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8fb6f74 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2d99ffd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a851e1e View commit details
    Browse the repository at this point in the history
  8. code review fixes

    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    82f25b3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aebc4e0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9540901 View commit details
    Browse the repository at this point in the history
  11. Code review fixes

    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    e8b8f30 View commit details
    Browse the repository at this point in the history
  12. conflict fixes

    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    5841021 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5be4fa8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ccfa9c4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f8aad9d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d2a0ead View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    76d54c0 View commit details
    Browse the repository at this point in the history
  18. Fix error codes mixup

    GuillaumeGomez committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    2c86ff4 View commit details
    Browse the repository at this point in the history
  19. adding compile-fail test

    gaurikholkar committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    4abcf28 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cb26a25 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2017

  1. move ERROR line

    nikomatsakis committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    a433777 View commit details
    Browse the repository at this point in the history
  2. rename compile-fail test

    gaurikholkar committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    37a88f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    401614b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    741dc2b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f13da7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#42669 - gaurikholkar:master, r=nikomatsakis

    Adding diagnostic code 0611 for lifetime errors with one named, one anonymous lifetime parameter
    
    This is a fix for rust-lang#42517
    Note that this only handles the above case for **function declarations** and **traits**.
    `impl items` and `closures` will be handled in a later PR.
    Example
    ```
    fn foo<'a>(x: &i32, y: &'a i32) -> &'a i32 {
        if x > y { x } else { y }
    }
    ```
    now displays the following error message. ui tests have been added for the same.
    ```
    error[E0611]: explicit lifetime required in the type of `x`
    11 | fn foo<'a>(x: &i32, y: &'a i32) -> &'a i32 {
       |                     ^ consider changing the type of `x` to `&'a i32`
    12 |     if x > y { x } else { y }
       |                  - lifetime `'a` required
    ```
    rust-lang#42516
    r? @nikomatsakis
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    bf3e8ce View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#42732 - cengizIO:master, r=Mark-Simulacrum

    Add pager support for `rustc --explain EXXXX`
    
    Hello!
    
    This is my take on rust-lang#32665.
    
    Thanks!
    
    **EDIT:** _I've limited access to a Windows machine so this is taking longer than I've anticipated_. 🐢
    
    cc @alexcrichton @nikomatsakis @Mark-Simulacrum @retep998 @ollie27 @afiune
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    aaa912b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#42911 - nrc:rls-update, r=brson

    Update RLS submodule
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    bb773b9 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#42925 - tbu-:pr_document_file_open_errors, …

    …r=GuillaumeGomez
    
    Document possible `io::ErrorKind`s of `fs::open`
    
    Try to make clear that this isn't an API guarantee for now, as we likely
    want to refine these errors in the future, e.g. `ENOSPC` "No space left
    on device".
    
    CC rust-lang#40322
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    6cc33dd View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#42957 - GuillaumeGomez:add-e0619, r=nikomat…

    …sakis
    
    Add E0619 error explanation
    
    r? @eddyb
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    21c13be View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#42985 - venkatagiri:issue_42444, r=Mark-Sim…

    …ulacrum
    
    rustc_llvm: re-run build script when env var LLVM_CONFIG changes
    
    This removes the changes done in rust-lang#42429 and use the newly introduced `cargo:rerun-if-env-changed` in rust-lang/cargo#4125.
    As `LLVM_CONFIG` env var points to the `llvm-config` and changes when it gets configured in `config.toml` or removed from it, we can re-run the build script if this env var changes.
    
    closes rust-lang#42444
    
    r? @alexcrichton
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    f0e2f82 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#42987 - cuviper:iterator_for_each, r=Mark-S…

    …imulacrum
    
    Track `iterator_for_each` in rust-lang#42986
    
    None
    GuillaumeGomez committed Jun 30, 2017
    Configuration menu
    Copy the full SHA
    d9362b0 View commit details
    Browse the repository at this point in the history