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 9 pull requests #33556

Merged
merged 18 commits into from
May 11, 2016
Merged

Rollup of 9 pull requests #33556

merged 18 commits into from
May 11, 2016

Commits on May 2, 2016

  1. middle: reset loop labels while visiting closure

    This should fix rust-lang#31754 and follow-up rust-lang#25343.  Before the latter, the
    closure was visited twice in the context of the enclosing fn, which
    made even a single closure with a loop label emit a warning.
    
    With this change, the closure is still visited within the context
    of the main fn (which is intended, since it is not a separate item)
    but resets the found loop labels while being visited.
    
    Fixes: rust-lang#31754
    birkenfeld committed May 2, 2016
    Configuration menu
    Copy the full SHA
    6fed013 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. add help on pattern guard

    fix too long column
    
    fix typo of help on pattern guard
    
    one nit
    
    fix compile fail
    mrmiywj committed May 3, 2016
    Configuration menu
    Copy the full SHA
    201d9ed View commit details
    Browse the repository at this point in the history

Commits on May 9, 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 9, 2016
    Configuration menu
    Copy the full SHA
    38a5338 View commit details
    Browse the repository at this point in the history
  2. Inline RawVec::cap

    mbrubeck committed May 9, 2016
    Configuration menu
    Copy the full SHA
    06f5fa4 View commit details
    Browse the repository at this point in the history
  3. doc: Fix tiny typo in vec-alloc.md

    Change `fast an loose` to `fast and loose`.
    briangreenery committed May 9, 2016
    Configuration menu
    Copy the full SHA
    9d2c45d View commit details
    Browse the repository at this point in the history

Commits on May 10, 2016

  1. E0061 typo fix

    cramertj committed May 10, 2016
    Configuration menu
    Copy the full SHA
    d8882e2 View commit details
    Browse the repository at this point in the history
  2. fix DFS for region error reporting

    This was causing terrible error reports, because the algorithm was
    incorrectly identifying the constraints.
    nikomatsakis committed May 10, 2016
    Configuration menu
    Copy the full SHA
    de0906f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5a2f2b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0908d66 View commit details
    Browse the repository at this point in the history

Commits on May 11, 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
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    c5e0099 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#33260 - mrmiywj:help-on-pattern-guard, r=gu…

    …illaumegomez
    
    add help on pattern guard
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    82c4f59 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#33345 - birkenfeld:issue-31754, r=pnkfelix

    middle: reset loop labels while visiting closure
    
    This should fix rust-lang#31754 and follow-up rust-lang#25343.  Before the latter, the closure was visited twice in the context of the enclosing fn, which made even a single closure with a loop label emit a warning.
    
    With this change, the closure is still visited within the context of the main fn (which is intended, since it is not a separate item) but resets the found loop labels while being visited.
    
    Fixes: rust-lang#31754
    
    Note: I amended the test file from rust-lang#25343, but I don't know if the original or amended test are effective, since as far as I could see, compiletest's run-pass tests do not check for zero warnings emitted?
    
    /cc @Manishearth
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    3b75f4b View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#33386 - cramertj:E0504, r=steveklabnik

    Add detailed error explanation for E0504
    
    Part of rust-lang#32777
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    4fe7871 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#33522 - mbrubeck:inline-rawvec-cap, r=nagisa

    Inline RawVec::cap
    
    This was showing up in a Servo profile.
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    30df9d0 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#33524 - briangreenery:briangreenery-fast-an…

    …d-loose, r=steveklabnik
    
    doc: Fix tiny typo in vec-alloc.md
    
    Change `fast an loose` to `fast and loose`.
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    8c6796f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#33528 - cramertj:E0061typeo, r=jseyfried

    E0061 typo fix
    
    Fixed silly typo.
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    130e76b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#33539 - nikomatsakis:static-error, r=pnkfelix

    fix DFS for region error reporting
    
    This was causing terrible error reports, because the algorithm was incorrectly identifying the constraints.
    
    r? @eddyb
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    4b8e7cb View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#33542 - GuillaumeGomez:move_since, r=stevek…

    …labnik
    
    Improve "since" tag placement
    
    Continuation of rust-lang#33431.
    
    r? @steveklabnik
    steveklabnik committed May 11, 2016
    Configuration menu
    Copy the full SHA
    403970f View commit details
    Browse the repository at this point in the history