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 21 pull requests #33482

Closed
wants to merge 45 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
    2d15690 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47d9f49 View commit details
    Browse the repository at this point in the history
  3. 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

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. Add detailed error explanation for E0504

    Removed unnecessary use of threads from E0504
    
    Cleaned up line ending on E0504
    
    Added more examples for E0504
    
    Changed to erroneous code wording
    
    Switched Rc example to thread/Arc example
    
    Added comments describing why errors no longer occur
    cramertj committed May 5, 2016
    Configuration menu
    Copy the full SHA
    3371b8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1c487e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a22ca28 View commit details
    Browse the repository at this point in the history
  4. 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
  5. 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
  6. Configuration menu
    Copy the full SHA
    26eb2be View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    10599e4 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2016

  1. rustdoc: add "src" links to individual impls

    Since these impls can be scattered around quite a bit, it is nice
    to be able to jump to the location where individual methods and
    trait impls are defined.
    
    Fixes: rust-lang#30416
    birkenfeld committed May 6, 2016
    Configuration menu
    Copy the full SHA
    89aa042 View commit details
    Browse the repository at this point in the history
  2. Fix Typo in Barrier::wait documentation

    This should be `have` instead of `has`.
    CryZe committed May 6, 2016
    Configuration menu
    Copy the full SHA
    32edf1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40025e8 View commit details
    Browse the repository at this point in the history
  4. Add detailed error explanation for E0389

    Cleanup of E0389
    
    Added type-d out version of type in E0389 description
    cramertj committed May 6, 2016
    Configuration menu
    Copy the full SHA
    f25cbe6 View commit details
    Browse the repository at this point in the history
  5. doc: mut not needed

    tshepang committed May 6, 2016
    Configuration menu
    Copy the full SHA
    8e9008d View commit details
    Browse the repository at this point in the history
  6. doc: binding not needed

    tshepang committed May 6, 2016
    Configuration menu
    Copy the full SHA
    9f935c8 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2016

  1. Rollup merge of rust-lang#33129 - GuillaumeGomez:fmt_doc, r=steveklabnik

    Doc improvement on std::fmt module
    
    Part of rust-lang#29355.
    
    r? @steveklabnik
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    143b423 View commit details
    Browse the repository at this point in the history
  2. 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.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    966a9a2 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#33283 - GuillaumeGomez:process_doc, r=steve…

    …klabnik
    
    Add process types documentation
    
    Part of rust-lang#29370.
    
    r? @steveklabnik
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    08e2b33 View commit details
    Browse the repository at this point in the history
  4. 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.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    07a71ba View commit details
    Browse the repository at this point in the history
  5. 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
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    3811d66 View commit details
    Browse the repository at this point in the history
  6. 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
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    fa8546a View commit details
    Browse the repository at this point in the history
  7. 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
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    d87054d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#33382 - birkenfeld:issue-30416, r=alexcrichton

    rustdoc: add "src" links to individual impls
    
    Since these impls can be scattered around quite a bit, it is nice to be able to jump to the location where individual methods and trait impls are defined.
    
    NOTE: this needs an update to the CSS, which I'd like to leave for whoever is the "rustdoc frontend champion". The new [src] links are currently too large and bold. Also, the interaction with the "since version X" annotations is not good.
    
    Fixes: rust-lang#30416
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    0abdb1e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#33386 - cramertj:E0504, r=steveklabnik

    Add detailed error explanation for E0504
    
    Part of rust-lang#32777
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    884e05e View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#33402 - shepmaster:copied-variable-name, r=…

    …Manishearth
    
    Replace copy-pasted variable name with relevant one
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    815aebd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dcb10e9 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#33410 - GuillaumeGomez:explain, r=Manishearth

    Remove rust flags from doc block
    
    Fixes rust-lang#33405
    
    r? @Manishearth
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    fbfbed5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#33412 - cramertj:E0389, r=Manishearth

    Add detailed error explanation for E0389
    
    Part of rust-lang#32777
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    a6f6888 View commit details
    Browse the repository at this point in the history
  14. 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
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    0a11aff View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    36bc97d View commit details
    Browse the repository at this point in the history
  16. 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
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    6fa27ae View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#33438 - birkenfeld:dup-words, r=steveklabnik

    Fix some some duplicate words.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    616cd72 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#33439 - birkenfeld:ip-rfc-refs, r=steveklabnik

    doc: make RFC references consistent
    
    Always add a space and end sentence with a full stop.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    cdbf864 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#33442 - tshepang:trim, r=steveklabnik

    doc: trim some needless code
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    f440176 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#33456 - CryZe:barrier-wait-docs, r=Guillaum…

    …eGomez
    
    Fix Typo in Barrier::wait documentation
    
    This should be `have` instead of `has`.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    77f0163 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#33459 - frewsxcv:patch-29, r=guillaumegomez

    Indicate struct names are code-like in doc-comment.
    GuillaumeGomez committed May 7, 2016
    Configuration menu
    Copy the full SHA
    c5595da View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ff1f450 View commit details
    Browse the repository at this point in the history