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 16 pull requests #58566

Closed
wants to merge 43 commits into from

Commits on Jan 17, 2019

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

Commits on Feb 5, 2019

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

Commits on Feb 6, 2019

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

Commits on Feb 7, 2019

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

Commits on Feb 8, 2019

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

Commits on Feb 9, 2019

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

Commits on Feb 12, 2019

  1. Use less explicit shifting in std::net::ip

    Now that we have {to|from}_be_bytes the code can be simpler.
    
    (Inspired by PR rust-lang#57740)
    scottmcm committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    5d80584 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2019

  1. Configuration menu
    Copy the full SHA
    4e5eda3 View commit details
    Browse the repository at this point in the history
  2. check if used_place and moved_place are equal when determining if…

    … the move was partial
    clintfred committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    96fd218 View commit details
    Browse the repository at this point in the history
  3. simplified conditional

    clintfred committed Feb 13, 2019
    Configuration menu
    Copy the full SHA
    755b320 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. Configuration menu
    Copy the full SHA
    cdd1c0e View commit details
    Browse the repository at this point in the history
  2. Monomorphize less code in fs::{read|write}

    Since the generic-ness is only for the as_refs, might as well have std just compile the important part once instead of on every use.
    scottmcm committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    564c569 View commit details
    Browse the repository at this point in the history
  3. Mention capping forbid lints

    I felt the description of forbid was misleading/incomplete without
    mentioning how --cap-lints interacts with it.
    dwijnand committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    8fbb013 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3281e62 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0cf1a91 View commit details
    Browse the repository at this point in the history
  6. Add alias methods to PathBuf for underlying OsString

    Implemented the following methods on PathBuf which
    forward to the underlying OsString.
    
    - capacity
    - with_capacity
    - clear
    - reserve
    - reserve_exact
    - shrink_to_fit
    - shrink_to
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    a23c40e View commit details
    Browse the repository at this point in the history
  7. Modify doctest's auto-fn main() to allow Results

    This lets the default `fn main()` unwrap any `Result`s, which
    allows the use of `?` in most tests without adding it manually.
    llogiq committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    dad211e View commit details
    Browse the repository at this point in the history
  8. Fixes for implementation of PathBuf methods (aliases for OsString)

    - Fixed incorrect `mut` usage
    - Fixed style in accordance with tidy
    - Marked all methods as unstable
    - Changed feature identifier to path_buf_alias_os_string_methods
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    dbf60d9 View commit details
    Browse the repository at this point in the history
  9. Changed feature gate for new PathBuf methods

    Feature gate changed to `path_buf_capacity` as per advice from @Mark-Simulacrum
    aaronstillwell committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    35d8c44 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ee948d9 View commit details
    Browse the repository at this point in the history
  11. Fix doc for rustc "-g" flag

    The rustc "-g" CLI flag was miss documented to be a synonym of "-C
    debug-level=2" and not the correct "-C debuginfo=2".
    TheBiggerGuy committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    55c25f8 View commit details
    Browse the repository at this point in the history
  12. Add links to codegen docs for rustc synonym flags

    The rustc "-g" and "-o" fags are synonyms of the "-c" codegen flags.
    This adds a link to the codegen docs for each synonym.
    TheBiggerGuy committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    88e462b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0b9ad6e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    01bebdf View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Configuration menu
    Copy the full SHA
    9312ca1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9fbcc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de05548 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#55632 - ollie27:deny_overflowing_literals, …

    …r=Centril
    
    Deny the `overflowing_literals` lint for all editions
    
    The `overflowing_literals` was made deny by default for the 2018 edition by rust-lang#54507, however I'm not aware of any reason it can't be made deny by default for the 2015 edition as well.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    47b2ba3 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#56470 - llogiq:process-termination-doctest,…

    … r=GuillaumeGomez
    
    Modify doctest's auto-`fn main()` to allow `Result`s
    
    This lets the default `fn main()` ~~return `impl Termination`~~ unwrap Results, which allows the use of `?` in most tests without adding it manually. This fixes rust-lang#56260
    
    ~~Blocked on `std::process::Termination` stabilization.~~
    
    Using `Termination` would have been cleaner, but this should work OK.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    da18731 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#58198 - igorsdv:suggest-removing-parenthese…

    …s-surrounding-lifetimes, r=estebank
    
    Suggest removing parentheses surrounding lifetimes
    
    Fixes rust-lang#57386.
    
    r? @estebank
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    d9f3e58 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#58199 - clintfred:partial-move-err-msg, r=e…

    …stebank
    
    Add better error message for partial move
    
    closes rust-lang#56657
    
    r? @davidtwco
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    01771ff View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#58303 - GuillaumeGomez:stability-tags-displ…

    …ay, r=QuietMisdreavus
    
    Improve stability tags display
    
    The issue was the font color on dark theme. Fixed now:
    
    <img width="352" alt="screenshot 2019-02-08 at 14 15 24" src="https://user-images.githubusercontent.com/3050060/52483276-bd810380-2bb3-11e9-8d46-95368569ac85.png">
    
    r? @QuietMisdreavus
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    ce9b9f8 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#58336 - GuillaumeGomez:fix-search-results-i…

    …nteractions, r=oli-obk
    
    Fix search results interactions
    
    The bug is visible when you search for "none": the second tab is empty and therefore it messes with the classes. Then when you try to use arrows on the third tab, it just crashes (because only 2 "search-results" are present and you're on tab 3).
    
    r? @QuietMisdreavus
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    42c1133 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#58392 - scottmcm:less-shifting-in-net-ip, r…

    …=oli-obk
    
    Use less explicit shifting in std::net::ip
    
    Now that we have `{to|from}_be_bytes` the code can be simpler.
    
    (Inspired by PR rust-lang#57740)
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    6842614 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#58528 - Zoxc:stmtkind-item, r=oli-obk

    Don't use an allocation for ItemId in StmtKind
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    2b85431 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#58530 - scottmcm:monomorphize-less, r=TimNN

    Monomorphize less code in fs::{read|write}
    
    Since the generic-ness is only for the as_refs, might as well have std just compile the important part once instead of on every use.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    e2f306e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#58534 - dwijnand:mention-capping-forbid-lin…

    …ts, r=oli-obk
    
    Mention capping forbid lints
    
    I felt the description of forbid was misleading/incomplete without
    mentioning how --cap-lints interacts with it.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    8488327 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#58536 - xfix:remove-ub-in-pointer-tests, r=…

    …RalfJung
    
    Remove UB in pointer tests
    
    UB found by Miri.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    932ff67 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#58539 - aaronstillwell:master, r=Mark-Simul…

    …acrum
    
    Add alias methods to PathBuf for underlying OsString (rust-lang#58234)
    
    Implemented the following methods on PathBuf which forward to the underlying OsString.
    
    - capacity
    - with_capacity
    - clear
    - reserve
    - reserve_exact
    - shrink_to_fit
    - shrink_to
    
    These methods have been documented with reference to the original docs for `OsString`. @Mark-Simulacrum please let me know if you feel this does not suffice.
    
    Further, I've not yet included tests for these definitions - please advise on how comprehensive tests need to be for methods such as these that simply alias other (already tested) methods.
    
    (This PR addresses issue rust-lang#58234)
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    e882771 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#58544 - TheBiggerGuy:rustc-doc-cli-args, r=…

    …TimNN
    
    Fix doc for rustc "-g" flag
    
    The rustc `-g` CLI flag was miss documented to be a synonym of `-C debug-level=2` and not `-C debuglevel=2`. Also add links to the codegen docs for each synonym.
    
    I am unsure of this will conflict with work on rust-lang#52938
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    a740ef1 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#58545 - emlai:regression-test-for-39448, r=…

    …Centril
    
    Add regression test for a specialization-related ICE (rust-lang#39448)
    
    Closes rust-lang#39448.
    
    This is my first time contributing, I hope I got everything right. :)
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    f2b237d View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#58551 - ssomers:master, r=oli-obk

    Explain a panic in test case net::tcp::tests::double_bind
    
    Those who try to build libstd on the Windows Subsystem for Linux experience a single failing test, where the point of failure is an explicit but anonymous panic, as reported in rust-lang#49367
    This commit somewhat explains why and allows diagnosing a little.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    4b1eff8 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#58555 - scottmcm:try-2015, r=Centril

    Add a note about 2018e if someone uses `try {` in 2015e
    
    Inspired by rust-lang#58491, where a `try_blocks` example was accidentally run in 2015, which of course produces a bunch of errors.
    
    What's the philosophy about gating for this?  The keyword is stably a keyword in 2018, so I haven't gated it for now but am not mentioning what the keyword _does_.  Let me know if I should do differently.
    Mark-Simulacrum authored Feb 18, 2019
    Configuration menu
    Copy the full SHA
    8a9191e View commit details
    Browse the repository at this point in the history