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

Merged
merged 39 commits into from
Apr 19, 2019
Merged

Rollup of 16 pull requests #60104

merged 39 commits into from
Apr 19, 2019

Commits on Apr 13, 2019

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

Commits on Apr 16, 2019

  1. implement nth_back for Bytes

    koalatux committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    cc2689a View commit details
    Browse the repository at this point in the history
  2. implement nth_back for Fuse

    koalatux committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    fae2a68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2605537 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Configuration menu
    Copy the full SHA
    4fed94b View commit details
    Browse the repository at this point in the history
  2. Correct E0392 diagnostic

    varkor committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    98f38b2 View commit details
    Browse the repository at this point in the history
  3. Update rustfmt to 1.2.1

    topecongiro committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    ca19ffe View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2019

  1. whitelist rtm x86 cpu feature

    mtak- committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    365a48a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    007b40b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e99b2e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    379c541 View commit details
    Browse the repository at this point in the history
  5. Use more realistic example for thread builder

    Stack size of 10 **bytes** does not make any sense: the minimal possible stack size is greater anyway.
    matklad authored Apr 18, 2019
    Configuration menu
    Copy the full SHA
    be69785 View commit details
    Browse the repository at this point in the history
  6. Fix small errors in docs for rchunks_exact and rchunks_exact_mut.

    The documentation for `rchunks_exact` said it started at the beginning
    of the slice, bit it actually starts at the end of the slice.
    
    In addition, there were a couple of "of the slice of the slice"
    duplicate phrases going on for `rchunks_exact` and `rchunks_exact_mut`.
    
    This fixes rust-lang#60068.
    nathankleyn committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    d98afc5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    08efbac View commit details
    Browse the repository at this point in the history
  8. Update miri

    TimDiekmann committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    ae1f2b5 View commit details
    Browse the repository at this point in the history
  9. Update tests

    varkor committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    048ba28 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    eed3619 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a1099ae View commit details
    Browse the repository at this point in the history
  12. libcore: deny more...

    Centril committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    dbfbade View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2019

  1. Configuration menu
    Copy the full SHA
    248fe94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b050fe View commit details
    Browse the repository at this point in the history
  3. Fix rebase

    estebank committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    2f4035d View commit details
    Browse the repository at this point in the history
  4. Suggest appropriate path when calling associated item on bare types

    When looking at the documentation for `std::f32` or `std::str`, for
    example, it is easy to get confused and assume `std::f32` and `f32`
    are the same thing. Because of this, it is not uncommon to attempt
    writing `f32::consts::PI` instead of the correct
    `std::f32::consts::PI`. When encountering the former, which results
    in an access error due to it being an inexistent path, try to access
    the same path under `std`. If this succeeds, this information is
    stored for later tweaking of the final E0599 to provide an
    appropriate suggestion.
    
    This suggestion applies to both E0233 and E0599 and is only checked
    when the first ident of a path corresponds to a primitive type.
    estebank committed Apr 19, 2019
    Configuration menu
    Copy the full SHA
    6aa4c99 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59915 - michaelwoerister:sp-event-filters-1…

    …, r=wesleywiser
    
    Implement event filtering for self-profiler.
    
    This is a first sketch for event filtering in the self-profiler, something that we'll want in order to keep profiling overhead low in the common case. The PR contains the commits from rust-lang#59515 and, for the moment, is meant for performance testing.
    
    r? @wesleywiser
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    1669f53 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59933 - sourcefrog:doc-fmt, r=shepmaster

    Make clear that format padding doesn't work for Debug
    
    As mentioned in
    rust-lang#46006 (comment)
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    7f450bd View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#60023 - koalatux:nth-back, r=scottmcm

    implement specialized nth_back() for Bytes, Fuse and Enumerate
    
    Hi,
    
    After my first PR has been successfully merged, here is my second pull request :-)
    
    Also this PR contains some specializations for the problem discussed in rust-lang#54054.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    291e44b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#60032 - rust-lang:remove-unwanted-z-index, …

    …r=QuietMisdreavus
    
    Remove unwanted z-index change
    
    Fixes rust-lang#60031.
    
    r? @QuietMisdreavus
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    ee511f2 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#60041 - jnferner:patch-1, r=shepmaster

    Simplify the returning of a Result a bit
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    2171250 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#60045 - estebank:suggest-std, r=petrochenkov

    Suggest appropriate path when calling associated item on bare types
    
    When looking at the documentation for `std::f32` or `std::str`, for
    example, it is easy to get confused and assume `std::f32` and `f32`
    are the same thing. Because of this, it is not uncommon to attempt
    writing `f32::consts::PI` instead of the correct
    `std::f32::consts::PI`. When encountering the former, which results
    in an access error due to it being an inexistent path, try to access
    the same path under `std`. If this succeeds, this information is
    stored for later tweaking of the final E0599 to provide an
    appropriate suggestion.
    
    Fix rust-lang#26760, fix rust-lang#46660.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    bd0d097 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#60052 - varkor:unused-parameter-diagnostic,…

    … r=estebank
    
    Correct unused parameter diagnostic
    
    The message was incorrect for unused lifetime parameters. There's no need to be specific.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    2d6150a View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#60056 - topecongiro:rustfmt-1.2.1, r=alexcr…

    …ichton
    
    Update rustfmt to 1.2.1
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    34f1c1f View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#60060 - mtak-:rtm-x86-feature, r=petrochenkov

    whitelist RTM x86 target cpu feature
    
    This PR adds support for intels restricted transactional memory cpu feature. I mostly copied what was done for the [movbe](rust-lang#57999) feature.
    
    rust-lang/stdarch#718
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    dd9f9b4 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#60061 - estebank:field-sugg, r=davidtwco

    Change suggestion of field when not in self context
    
    Fix rust-lang#60057.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    aa58242 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#60064 - estebank:issue-59980, r=varkor

    Point at try `?` on errors affecting the err match arm of the desugared code
    
    Fix rust-lang#59980.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    37f835c View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#60078 - matklad:patch-1, r=shepmaster

    Use more realistic example for thread builder
    
    Stack size of 10 **bytes** does not make any sense: the minimal possible stack size is greater anyway.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    08ee04e View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#60080 - nathankleyn:fix-issue-60068, r=Centril

    Fix small errors in docs for `rchunks_exact` and `rchunks_exact_mut`.
    
    The documentation for `rchunks_exact` said it started at the beginning
    of the slice, bit it actually starts at the end of the slice.
    
    In addition, there were a couple of "of the slice of the slice"
    duplicate phrases going on for `rchunks_exact` and `rchunks_exact_mut`.
    
    This fixes rust-lang#60068.
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    af6d3f8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c88b872 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#60097 - cuviper:llvm8-mergefunc-use-aliases…

    …, r=rkruppe
    
    Use -mergefunc-use-aliases for any LLVM >= 8
    
    This functionality is not specific to Rust's LLVM, but any starting in LLVM 8.0,
    as noted in <rust-lang#56358 (comment)>.
    
    cc @nikic
    r? @rkruppe
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    c0ea0d8 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#60098 - Centril:libcore-deny-more, r=varkor

    libcore: deny `elided_lifetimes_in_paths`
    
    r? @varkor
    Centril authored Apr 19, 2019
    Configuration menu
    Copy the full SHA
    3ad9fcc View commit details
    Browse the repository at this point in the history