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 8 pull requests #31911

Merged
merged 18 commits into from
Feb 26, 2016
Merged

Rollup of 8 pull requests #31911

merged 18 commits into from
Feb 26, 2016

Commits on Feb 25, 2016

  1. Configuration menu
    Copy the full SHA
    8adc3f7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c82be2f View commit details
    Browse the repository at this point in the history
  3. mention debug-assertions

    Manishearth committed Feb 25, 2016
    Configuration menu
    Copy the full SHA
    bdecd9d View commit details
    Browse the repository at this point in the history
  4. Document the null-char/null-byte escape in the reference

    It appears in the examples, but is not covered by any of the cases
    in the prose description.
    birkenfeld committed Feb 25, 2016
    Configuration menu
    Copy the full SHA
    d472b69 View commit details
    Browse the repository at this point in the history
  5. doc: add missing comma

    tshepang committed Feb 25, 2016
    Configuration menu
    Copy the full SHA
    52ed15f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6c21b1b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5eb46d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2016

  1. suggest: Put the use in suggested code inside the quotes

    Change import a trait suggestion from:
    
       help: candidate #1: use `std::io::Write`
    
    to
    
       help: candidate #1: `use std::io::Write`
    
    so that the code can be copied directly.
    bluss committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    5db4316 View commit details
    Browse the repository at this point in the history
  2. Make sure formatter errors are emitted by the default Write::write_fmt

    Previously, if an error was returned from the formatter that did not
    originate in an underlying writer error, Write::write_fmt would return
    successfully even if the formatting did not complete (was interrupted by
    an `fmt::Error` return).
    
    Now we choose to emit an io::Error with kind Other for formatter errors.
    
    Since this may reveal error returns from `write!()` and similar that
    previously passed silently, it's a kind of a [breaking-change].
    bluss committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    6cfafad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cefbe50 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#31880 - Manishearth:debug, r=alexcrichton

    Right this information isn't documented anywhere, sticking it into `make tips`
    Manishearth committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    a52c7dc View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#31883 - birkenfeld:doc-null-escape, r=bluss

    It appears in the examples, but is not covered by any of the cases
    in the prose description.
    Manishearth committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    903798d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d28d47 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    64af0ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f74855e View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#31901 - bluss:suggest-use, r=sanxiyn

    suggest: Put the `use` in suggested code inside the quotes
    
    Change import a trait suggestion from:
    
           help: candidate #1: use `std::io::Write`
    
    to
    
           help: candidate #1: `use std::io::Write`
    
    so that the code can be copied directly.
    
    Fixes rust-lang#31864
    Manishearth committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    263e722 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#31904 - bluss:writer-formatter-error, r=ale…

    …xcrichton
    
    Make sure formatter errors are emitted by the default Write::write_fmt
    
    Previously, if an error was returned from the formatter that did not
    originate in an underlying writer error, Write::write_fmt would return
    successfully even if the formatting did not complete (was interrupted by
    an `fmt::Error` return).
    
    Now we choose to emit an io::Error with kind Other for formatter errors.
    
    Since this may reveal error returns from `write!()` and similar that
    previously passed silently, it's a kind of a [breaking-change].
    
    Fixes rust-lang#31879
    Manishearth committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    acea6fc View commit details
    Browse the repository at this point in the history
  11. fixup rust-lang#31878

    Manishearth committed Feb 26, 2016
    Configuration menu
    Copy the full SHA
    3c9a268 View commit details
    Browse the repository at this point in the history