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

Merged
merged 11 commits into from
Apr 20, 2017
Merged

Rollup of 5 pull requests #41413

merged 11 commits into from
Apr 20, 2017

Commits on Apr 12, 2017

  1. Add a way to get shorter spans until char for pointing at defs

    ```rust
    error[E0072]: recursive type `X` has infinite size
      --> file.rs:10:1
       |
    10 | struct X {
       | ^^^^^^^^ recursive type has infinite size
       |
       = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
    ```
    
    vs
    
    ```rust
    error[E0072]: recursive type `X` has infinite size
      --> file.rs:10:1
       |
    10 |   struct X {
       |  _^ starting here...
    11 | |     x: X,
    12 | | }
       | |_^ ...ending here: recursive type has infinite size
       |
       = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
    ```
    estebank committed Apr 12, 2017
    Configuration menu
    Copy the full SHA
    439ff69 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2017

  1. Bump stage0 to fix ARM LLVM

    There was a serious ARM codegen bug in LLVM that was fixed by rust-lang#40779,
    also backported to beta.  This updates stage0 to 1.17.0-beta.3 to pick
    up that change, so ARM can bootstrap natively again.
    
    Fixes rust-lang#41291
    cc @arielb1
    cuviper committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    0a69bf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cba0c6a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. Override ToOwned::clone_into for Path and OsStr

    The only non-overridden one remaining is the CStr impl, which cannot
    be optimized as doing so would break CString's second invariant.
    scottmcm committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    295bcdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa6c2b1 View commit details
    Browse the repository at this point in the history
  3. propagate other obligations that were left out

    cc rust-lang#32730 -- I left exactly one instance where I wasn't sure of the
    right behavior.
    nikomatsakis committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    93e1097 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2017

  1. Rollup merge of rust-lang#41214 - estebank:less-multiline, r=petroche…

    …nkov
    
    Add a way to get shorter spans until `char` for pointing at defs
    
    ```rust
    error[E0072]: recursive type `X` has infinite size
      --> file.rs:10:1
       |
    10 | struct X {
       | ^^^^^^^^ recursive type has infinite size
       |
       = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
    ```
    
    vs
    
    ```rust
    error[E0072]: recursive type `X` has infinite size
      --> file.rs:10:1
       |
    10 |   struct X {
       |  _^ starting here...
    11 | |     x: X,
    12 | | }
       | |_^ ...ending here: recursive type has infinite size
       |
       = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `X` representable
    ```
    
    Re: rust-lang#35965,  rust-lang#38246. Follow up to rust-lang#38328.
    
    r? @jonathandturner
    frewsxcv committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    236978e View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#41369 - cuviper:arm-stage0, r=alexcrichton

    Bump stage0 to fix ARM LLVM
    
    There was a serious ARM codegen bug in LLVM that was fixed by rust-lang#40779,
    also backported to beta.  This updates stage0 to 1.17.0-beta.3 to pick
    up that change, so ARM can bootstrap natively again.
    
    Fixes rust-lang#41291
    cc @arielb1
    frewsxcv committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    1987fc1 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#41377 - nikomatsakis:issue-41298-ICE-infere…

    …nce, r=eddyb
    
    Fix ICE building gluon_vm
    
    The problem was due to various places we were failing to propagate obligations. I think I got them mostly correct, but I didn't get around to writing test cases for each case.
    
    r? @eddyb or @arielb1
    frewsxcv committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    348d66c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#41378 - eddyb:byval-is-not-like-sret, r=ari…

    …elb1
    
    rustc_trans: do not treat byval as using up registers.
    
    Perhaps not that well-documented, `byval` pointer arguments *are not* the same as pointer arguments used by pass-by-ref, but rather the pointer is only used by LLVM to pass the *contents* on the stack.
    
    Fixes rust-lang#41375.
    frewsxcv committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    1b7e6c3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41390 - scottmcm:toowned-clone-into, r=alex…

    …crichton
    
    Override ToOwned::clone_into for Path and OsStr
    
    The only non-overridden one remaining is the CStr impl, which cannot
    be optimized as doing so would break CString's second invariant.
    
    Follow-up to 7ec27ae (PR rust-lang#41009).
    
    r? @alexcrichton
    frewsxcv committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    204243f View commit details
    Browse the repository at this point in the history