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 10 pull requests #54432

Closed
wants to merge 27 commits into from
Closed

Rollup of 10 pull requests #54432

wants to merge 27 commits into from

Commits on Sep 16, 2018

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

Commits on Sep 18, 2018

  1. rustbuild: drop color handling

    Let cargo handle that for us
    
    Signed-off-by: Marc-Antoine Perennou <[email protected]>
    Keruspe committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    2a45057 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2018

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

Commits on Sep 20, 2018

  1. Configuration menu
    Copy the full SHA
    adc2c04 View commit details
    Browse the repository at this point in the history
  2. define copy_within on slices

    This is a safe wrapper around ptr::copy, for regions within a single
    slice. Previously, safe in-place copying was only available as a side
    effect of Vec::drain.
    oconnor663 committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    b3ffd33 View commit details
    Browse the repository at this point in the history
  3. add tests for copy_within

    oconnor663 committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    d0e59f5 View commit details
    Browse the repository at this point in the history
  4. dbg!(expr) implementation.

    Centril committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    000be8f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbb81bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6d08821 View commit details
    Browse the repository at this point in the history
  7. dbg_macro: output tests.

    Centril committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    a9d2f38 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1d2a1bf View commit details
    Browse the repository at this point in the history
  9. debug_macro: --bless tests.

    Centril committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    924a693 View commit details
    Browse the repository at this point in the history
  10. Use no_default_libraries for all NetBSD flavors

    The no_default_libraries was introduced in rust-lang#28578 because the
    NetBSD-based rumprun needed to disable the link flag.
    This moves the definition to be used by all NetBSD linker flavors to
    close rust-lang#49627.
    
    A different solution would be adding -lc but as there is no platform
    with explicit -lc, this approach is used.
    bgermann committed Sep 20, 2018
    Configuration menu
    Copy the full SHA
    36d562f View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. Configuration menu
    Copy the full SHA
    d341b17 View commit details
    Browse the repository at this point in the history
  2. Remove incidental notes

    memoryruins committed Sep 21, 2018
    Configuration menu
    Copy the full SHA
    70da203 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7f9a259 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48f4605 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#53652 - oconnor663:copy_in_place, r=alexcri…

    …chton
    
    define copy_within on slices
    
    This is a safe wrapper around `ptr::copy`, for regions within a single slice. Previously, safe in-place copying was only available as a side effect of `Vec::drain`.
    
    I've wanted this API a couple times in the past, and I figured I'd just whip up a PR to help discuss it. It's possible something like this exists elsewhere and I just missed it. It might also be a big enough addition to warrant an RFC, I'm not sure.
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    b9d51ed View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#54261 - varkor:dyn-keyword-2018, r=petroche…

    …nkov
    
    Make `dyn` a keyword in the 2018 edition
    
    Proposed in rust-lang#44662 (comment).
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    8a61907 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#54317 - Centril:feature/dbg_macro, r=SimonS…

    …apin
    
    Implement the dbg!(..) macro
    
    Implements the `dbg!(..)` macro due to rust-lang#54306.
    cc rust-lang/rfcs#2361
    
    r? @alexcrichton
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    3168346 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#54323 - Keruspe:rustc-color, r=Mark-Simulacrum

    rustbuild: drop color handling
    
    Let cargo handle that for us
    
    Fixes rust-lang#54322
    
    Needs a beta backport
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    da28ae2 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#54371 - QuietMisdreavus:rustdoc-ui-testing,…

    … r=GuillaumeGomez
    
    add -Zui-testing to rustdoc
    
    Before we depend on the `rustdoc-ui` tests some more, let's make rustdoc act the same as the compiler when they're actually being executed.
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    19b0748 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#54374 - SergioBenitez:pub-multispan, r=alex…

    …crichton
    
    Make 'proc_macro::MultiSpan' public.
    
    Oversight from rust-lang#52896.
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    a112600 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#54402 - bgermann:master, r=alexcrichton

    Use no_default_libraries for all NetBSD flavors
    
    The no_default_libraries was introduced in rust-lang#28578 because the
    NetBSD-based rumprun needed to disable the link flag.
    This moves the definition to be used by all NetBSD linker flavors to
    close rust-lang#49627.
    
    A different solution would be adding -lc but as there is no platform
    with explicit -lc, this approach is used.
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    99e79c0 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#54412 - jcpst:replace_span_suggestion, r=es…

    …tebank
    
    add applicability to span_suggestion call
    
    Found another `span_suggestion` call. Issue rust-lang#50723
    
    r? @estebank
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    fa6c16e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#54413 - memoryruins:deref-error-twice, r=es…

    …tebank
    
    Add UI test for deref recursion limit printing twice
    
    Closes rust-lang#38940
    
    Does ``NOTE`` in the test need to be changed to ``HELP`` if its in the stderr?
    ``help: consider adding a `#![recursion_limit="20"]` attribute to your crate``
    
    It doesn't appear to complaining locally that the line isn't set to ``HELP`` in the test, and the guide says
     > HELP and SUGGESTION*
    > * Note: SUGGESTION must follow immediately after HELP.
    
    yet there's no concrete suggestion emitted.
    
    r? @estebank
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    eca7b5f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#54422 - ljedrz:simplify_first_last, r=Mark-…

    …Simulacrum
    
    Simplify slice's first(_mut) and last(_mut) with get
    
    This change makes these functions easier to read and interpret. I haven't detected any difference in performance locally.
    
    r? @Mark-Simulacrum
    kennytm authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    e6b2e80 View commit details
    Browse the repository at this point in the history