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 7 pull requests #72262

Merged
merged 19 commits into from
May 16, 2020
Merged

Rollup of 7 pull requests #72262

merged 19 commits into from
May 16, 2020

Commits on May 11, 2020

  1. cargo update -p serde_derive

    Xanewok committed May 11, 2020
    Configuration menu
    Copy the full SHA
    5e35493 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    403a9d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c6e568 View commit details
    Browse the repository at this point in the history
  4. cargo update -p derive-new

    Xanewok committed May 11, 2020
    Configuration menu
    Copy the full SHA
    3bdaced View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e26f35d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Use simpler impls for some Iterator methods for slices.

    The default implementations of several `Iterator` methods use `fold` or
    `try_fold`, which works, but is overkill for slices and bloats the
    amount of LLVM IR generated and consequently hurts compile times.
    
    This commit adds the simple, obvious implementations for `for_each`,
    `all`, `any`, `find`, `find_map`, and simplifies the existing
    implementations for `position` and `rposition`. These changes reduce
    compile times significantly on some benchmarks.
    nnethercote committed May 13, 2020
    Configuration menu
    Copy the full SHA
    5a0ac05 View commit details
    Browse the repository at this point in the history
  2. Change Iterator::nth to use self.next() in a while loop.

    Currently it uses `for x in self`, which seems dubious within an
    iterator method. Furthermore, `self.next()` is used in all the other
    iterator methods.
    nnethercote committed May 13, 2020
    Configuration menu
    Copy the full SHA
    3b10858 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. Configuration menu
    Copy the full SHA
    00268be View commit details
    Browse the repository at this point in the history
  2. Updated documentation of Prefix::VerbatimDisk

    PrefixComponent with Prefix::VerbatimDisk does not contain the trailing slash. The documentation here is also inconsistent with the documentation on other variants that reflect the `PrefixComponent::as_os_str()` return value.
    SOF3 committed May 15, 2020
    Configuration menu
    Copy the full SHA
    084cdde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5ea925 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7433c4d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Fix typo Arbintrary to Arbitrary

    Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
    Rustin170506 committed May 16, 2020
    Configuration menu
    Copy the full SHA
    78eb64f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#71625 - Diggsey:improve-manually-drop-docs,…

    … r=RalfJung
    
    Improve the documentation for ManuallyDrop to resolve conflicting usage of terminology
    
    cc @RalfJung
    
    Follow-up from rust-lang/unsafe-code-guidelines#233
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    9c32e7a View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#71919 - Xanewok:bump-syn-1, r=Xanewok

    Update transitive dependency to work towards removing syn <1.0 dep
    
    This bumps a couple of transitive dependencies in hopes of eventually not transitively depending on syn <1.0 and friends. The only upstream changes that this is blocked on seems to be mattico/elasticlunr-rs#27 and rust-lang/mdBook#1210.
    
    While working on rust-lang#71875 I noticed we still use syn 0.15 here and there so this is a drive-by PR which aims to help with things a bit.
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    9dd7ad3 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#72166 - nnethercote:simpler-slice-Iterator-…

    …methods, r=cuviper
    
    Simpler slice `Iterator` methods
    
    These reduce the amount of LLVM IR generated, helping compile times.
    
    r? @cuviper
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    e8f0fb1 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#72216 - doctorn:require-lang-item, r=lcnr

    Remove `lang_items\(\).*\.unwrap\(\)`
    
    Follows up rust-lang#72170 to remove the remaining uses of `lang_items\(\).*\.unwrap\(\)` (avoids a bunch of potential ICEs when working in `#![no_core]`).
    
    Resolves rust-lang#72195
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    1be88e6 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#72230 - SOF3:patch-1, r=kennytm

    Updated documentation of Prefix::VerbatimDisk
    
    PrefixComponent with Prefix::VerbatimDisk does not contain the trailing slash. The documentation here is also inconsistent with the documentation on other variants that reflect the `PrefixComponent::as_os_str()` return value.
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    8b1cc10 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#72234 - dtolnay:default, r=petrochenkov

    Implement Default for proc_macro::TokenStream
    
    Hopefully this is uncontroversial. The only reason we've made it this far without is that proc-macro2 snuck this in for their TokenStream.
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    25c91ea View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#72258 - Rustin-Liu:rustin-patch-typo, r=dto…

    …lnay
    
    Fix typo Arbintrary to Arbitrary
    
    Signed-off-by: Rustin-Liu <rustin.liu@gmail.com>
    
    Closes rust-lang#72122.
    Dylan-DPC committed May 16, 2020
    Configuration menu
    Copy the full SHA
    e43dd47 View commit details
    Browse the repository at this point in the history