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 14 pull requests #33440

Closed
wants to merge 29 commits into from
Closed

Commits on Apr 28, 2016

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

Commits on Apr 30, 2016

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

Commits on May 1, 2016

  1. Configuration menu
    Copy the full SHA
    47d9f49 View commit details
    Browse the repository at this point in the history
  2. dep_graph: avoid panicking in thread when channel closed

    On my system, when the processor is already loaded, and I try to
    run the test suite, e.g. compile-fail/dep-graph-assoc-type-trans.rs
    fails because of undecodable JSON.
    
    Running the compiler manually, I can see that the dep graph thread
    panics (and puts non-JSON on stderr) while `send`ing on `swap_out`,
    presumably because the other end has already quit.  I think that in
    this case, we can just gracefully exit the thread.
    birkenfeld committed May 1, 2016
    Configuration menu
    Copy the full SHA
    e3f1312 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2016

  1. std::thread docs: spawn() returns not a Thread anymore

    Also move the "Thread type" section down a bit, since it is
    not so important anymore.
    
    Fixes: rust-lang#33321
    birkenfeld committed May 2, 2016
    Configuration menu
    Copy the full SHA
    eba43fb View commit details
    Browse the repository at this point in the history
  2. parser: do not try to continue with unsafe on foreign fns

    The changed line makes it look like `unsafe` is allowed, but the
    first statement of `parse_item_foreign_fn` is:
    
    `self.expect_keyword(keywords::Fn)?;`
    
    So we get the strange "expected one of `fn`, `pub`, `static`, or
    `unsafe`, found `unsafe`".
    
    Fixes: rust-lang#27361
    birkenfeld committed May 2, 2016
    Configuration menu
    Copy the full SHA
    b75f81c View commit details
    Browse the repository at this point in the history
  3. typeck: if a private field exists, also check for a public method

    For example, `Vec::len` is both a field and a method, and usually
    encountering `vec.len` just means that the parens were forgotten.
    
    Fixes: rust-lang#26472
    birkenfeld committed May 2, 2016
    Configuration menu
    Copy the full SHA
    fcebf52 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Configuration menu
    Copy the full SHA
    a11ddb3 View commit details
    Browse the repository at this point in the history
  2. errors in the doc

    kindlychung committed May 4, 2016
    Configuration menu
    Copy the full SHA
    2ca3120 View commit details
    Browse the repository at this point in the history
  3. Update iterator.rs

    kindlychung committed May 4, 2016
    Configuration menu
    Copy the full SHA
    16219de View commit details
    Browse the repository at this point in the history

Commits on May 5, 2016

  1. Configuration menu
    Copy the full SHA
    d1c487e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a22ca28 View commit details
    Browse the repository at this point in the history
  3. mk: Fix building with --enable-ccache

    We will no longer use `ccache` in the makefiles for our local dependencies like
    miniz, but they're so small anyway it doesn't really matter.
    
    Closes rust-lang#33285
    alexcrichton committed May 5, 2016
    Configuration menu
    Copy the full SHA
    39eec80 View commit details
    Browse the repository at this point in the history
  4. doc: Update reference with better description of target_env

    The definition of this value recently changed slightly. It no
    longer corresponds directly to the target triple.
    
    Also shuffled things around to make the order of cfg descriptions more
    logical and added text related them to the target triple.
    
    cc rust-lang#33403
    brson committed May 5, 2016
    Configuration menu
    Copy the full SHA
    2912bfb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26eb2be View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#33256 - pnkfelix:add-rustc-specific-tags-fi…

    …les, r=nikomatsakis
    
    Add `TAGS.rustc.emacs`/`TAGS.rustc.vi` make targets
    
    Add `TAGS.rustc.emacs`/`TAGS.rustc.vi` make targets, (re-)including rustc source.
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    1d18acc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#33283 - GuillaumeGomez:process_doc, r=steve…

    …klabnik
    
    Add process types documentation
    
    Part of rust-lang#29370.
    
    r? @steveklabnik
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    5df157b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#33313 - birkenfeld:depgraph-panic, r=nikoma…

    …tsakis
    
    dep_graph: avoid panicking in thread when channel closed
    
    On my system, when the processor is already loaded, and I try to
    run the test suite, e.g. compile-fail/dep-graph-assoc-type-trans.rs
    fails because of undecodable JSON.
    
    Running the compiler manually, I can see that the dep graph thread
    panics (and puts non-JSON on stderr) while `send`ing on `swap_out`,
    presumably because the other end has already quit.  I think that in
    this case, we can just gracefully exit the thread.
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    10c34fa View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#33314 - alexcrichton:fix-enable-ccache, r=p…

    …nkfelix
    
    mk: Fix building with --enable-ccache
    
    We will no longer use `ccache` in the makefiles for our local dependencies like
    miniz, but they're so small anyway it doesn't really matter.
    
    Closes rust-lang#33285
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    e44162f View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#33326 - birkenfeld:issue-33321, r=Guillaume…

    …Gomez
    
    std::thread docs: spawn() does not return a Thread anymore
    
    Also move the "Thread type" section down a bit, since it is not so important anymore.
    
    Fixes: rust-lang#33321
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    a26f6ba View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#33336 - birkenfeld:issue-27361, r=sfackler

    parser: do not try to continue with `unsafe` on foreign fns
    
    The changed line makes it look like `unsafe` is allowed, but the first statement of `parse_item_foreign_fn` is:
    
    ```
    self.expect_keyword(keywords::Fn)?;
    ```
    
    So we get the strange "expected one of `fn`, `pub`, `static`, or `unsafe`, found `unsafe`".
    
    Fixes: rust-lang#27361
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    04097c6 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#33342 - birkenfeld:issue-26472, r=arielb1

    typeck: if a private field exists, also check for a public method
    
    For example, `Vec::len` is both a field and a method, and usually encountering `vec.len` just means that the parens were forgotten.
    
    Fixes: rust-lang#26472
    
    NOTE: I added the parameter `allow_private` to `method::exists` since I don't want to suggest inaccessible methods. For the second case, where only the method exists, I think it would make sense to set it to `false` as well, but I wanted to preserve compatibility for this case.
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    e94a722 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#33402 - shepmaster:copied-variable-name, r=…

    …Manishearth
    
    Replace copy-pasted variable name with relevant one
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    da36566 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9b68372 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#33410 - GuillaumeGomez:explain, r=Manishearth

    Remove rust flags from doc block
    
    Fixes rust-lang#33405
    
    r? @Manishearth
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    7860cc5 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#33428 - fiveop:wrapping_example, r=stevekla…

    …bnik
    
    Add an example to Wrapping's documentation.
    
    Such an example would have helped me understand `Wrapping` quicker.
    
    r? @steveklabnik
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    8842100 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    47b6999 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#33437 - brson:trips, r=Manishearth

    doc: Update reference with better description of target_env
    
    The definition of this value recently changed slightly. It no
    longer corresponds directly to the target triple.
    
    Also shuffled things around to make the order of cfg descriptions more
    logical and added text related them to the target triple.
    
    cc rust-lang#33403
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    0af9250 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#33438 - birkenfeld:dup-words, r=steveklabnik

    Fix some some duplicate words.
    steveklabnik committed May 5, 2016
    Configuration menu
    Copy the full SHA
    3ac65ea View commit details
    Browse the repository at this point in the history