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 #48947

Closed
wants to merge 19 commits into from

Commits on Mar 7, 2018

  1. Impl Integer methods for Wrapping

    Wrapping<T> now implements:
    
    count_ones, count_zeros, leading_zeros,
    trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
    from_le, to_be, to_le, and pow
    
    where T is:
    
    u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.
    
    Docs were written for all these methods, as well as examples. The
    examples mirror the ones on u8, u16, etc... for consistency.
    
    Closes rust-lang#32463
    Phlosioneer committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    7e346df View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Configuration menu
    Copy the full SHA
    02aa39f View commit details
    Browse the repository at this point in the history
  2. Fix trailing whitespace

    Phlosioneer committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    910d855 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Configuration menu
    Copy the full SHA
    93ab8c2 View commit details
    Browse the repository at this point in the history
  2. Add missing urls

    GuillaumeGomez committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    a63bf3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1a73d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2018

  1. fix formatting

    csmoe committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    cb5ac97 View commit details
    Browse the repository at this point in the history
  2. in which some labels and notes are upgraded to structured suggestions

    (Meanwhile, a couple of parse-fail tests are moved to UI tests so that
    the reader can see the new output, and an existing UI test is given a
    more evocative name.)
    zackmdavis committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    9b59985 View commit details
    Browse the repository at this point in the history
  3. Fix hygene issue when deriving Debug

    The code for several of the core traits doesn't use hygenic macros.
    This isn't a problem, except for the Debug trait, which is the only
    one that uses a variable, named "builder".
    
    Variables can't share names with unit structs, so attempting to
    [derive(Debug)] on any type while a unit struct with the name
    "builder" was in scope would result in an error.
    
    This commit just changes the name of the variable to
    "__debug_trait_builder", because I couldn't figure out how to get a
    list of all unit structs in-scope from within the derive expansion
    function. If someone wants to have a unit struct with
    the exact name "__debug_trait_builder", they'll just have to do it
    without a [derive(Debug)].
    Phlosioneer committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    c033c6e View commit details
    Browse the repository at this point in the history
  4. Update stdsimd module

    Pulls in a redesigned `std::simd` module as well as a replacement for the
    `is_target_feature_detected!` macro
    alexcrichton committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    f2a8556 View commit details
    Browse the repository at this point in the history
  5. test: Forcibly remove MAKEFLAGS in compiletest

    When executing run-make tests we run a risk of leaking the `MAKEFLAGS`
    environment variable if `./x.py` itself was called from `make` (aka `make check
    -j3` as the OSX bots do). We may then leak accidentally fds into the child
    process and trick it into thinking it's got a jobserver!
    
    Hopefully addresses [this] spurious failure
    
    [this]: rust-lang#48295 (comment)
    alexcrichton committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    9a3128e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Rollup merge of rust-lang#48810 - Phlosioneer:32463-impl-integer-for-…

    …wrapping, r=dtolnay
    
    Implement Integer methods for Wrapping
    
    Wrapping<T> now implements:
    
    count_ones, count_zeros, leading_zeros,
    trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be,
    from_le, to_be, to_le, and pow
    
    where T is:
    
    u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize.
    
    Docs were written for all these methods, as well as examples. The
    examples mirror the ones on u8, u16, etc... for consistency.
    
    Closes rust-lang#32463
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    4bd0ba4 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#48877 - GuillaumeGomez:vec-missing-links, r…

    …=QuietMisdreavus
    
    Add missing urls
    
    r? @QuietMisdreavus
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    84514d2 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#48880 - petrochenkov:badstderr, r=kennytm

    tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    ffaaa4e View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#48887 - alexcrichton:update-stdsimd, r=kennytm

    Update stdsimd module
    
    Pulls in a redesigned `std::simd` module as well as a replacement for the
    `is_target_feature_detected!` macro
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    a06899c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#48902 - csmoe:refactor_BorrowckErrors_fn_se…

    …lf, r=petrochenkov
    
    refactor the `BorrowckErrors` trait to take `fn(self)`
    
    Fixes rust-lang#48783
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    03a4f9d View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#48928 - zackmdavis:span_suggestion_field_da…

    …y, r=estebank
    
    in which some labels and notes are upgraded to structured suggestions
    
    (Meanwhile, a couple of parse-fail tests are moved to UI tests so that
    the reader can see the new output, and an existing UI test is given a
    more evocative name.)
    
    r? @estebank
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    d907bf7 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#48934 - Phlosioneer:42453-debug-hygene, r=p…

    …etrochenkov
    
    Fix hygene issue when deriving Debug
    
    The code for several of the core traits doesn't use hygenic macros.
    This isn't a problem, except for the Debug trait, which is the only
    one that uses a variable, named "builder".
    
    Variables can't share names with unit structs, so attempting to
    [derive(Debug)] on any type while a unit struct with the name
    "builder" was in scope would result in an error.
    
    This commit just changes the name of the variable to
    "__debug_trait_builder", because I couldn't figure out how to get a
    list of all unit structs in-scope from within the derive expansion
    function. If someone wants to have a unit struct with
    the exact name "__debug_trait_builder", they'll just have to do it
    without a [derive(Debug)].
    
    I also checked the implementations of the other built-in derives to
    ensure they didn't declare any variables.
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    4d85efe View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#48938 - alexcrichton:no-leak-makeflags, r=k…

    …ennytm
    
    test: Forcibly remove MAKEFLAGS in compiletest
    
    When executing run-make tests we run a risk of leaking the `MAKEFLAGS`
    environment variable if `./x.py` itself was called from `make` (aka `make check
    -j3` as the OSX bots do). We may then leak accidentally fds into the child
    process and trick it into thinking it's got a jobserver!
    
    Hopefully addresses [this] spurious failure
    
    [this]: rust-lang#48295 (comment)
    Mark-Simulacrum authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    911f6f1 View commit details
    Browse the repository at this point in the history