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

Merged
merged 34 commits into from
Oct 27, 2020
Merged

Rollup of 16 pull requests #78421

merged 34 commits into from
Oct 27, 2020

Commits on Oct 4, 2020

  1. Add [T]::as_chunks_mut (as unstable)

    Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`.  The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own.
    scottmcm committed Oct 4, 2020
    Configuration menu
    Copy the full SHA
    652f34d View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. allow using the system-wide llvm-libunwind as the unwinder

    Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
    Keruspe committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    66fa42a View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

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

Commits on Oct 23, 2020

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

Commits on Oct 25, 2020

  1. Configuration menu
    Copy the full SHA
    cc468c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e218380 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88d3967 View commit details
    Browse the repository at this point in the history
  4. Fix small typos

    JohnTitor committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    4f34537 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    666afba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9de1518 View commit details
    Browse the repository at this point in the history
  7. Use ? in core/std macros

    taiki-e committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    04c0018 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Configuration menu
    Copy the full SHA
    a4ba179 View commit details
    Browse the repository at this point in the history
  2. Add compiler support for LLVM's x86 ERMSB feature

    This change is needed for compiler-builtins to check for this feature
    when implementing memcpy/memset. See:
      rust-lang/compiler-builtins#365
    
    The change just does compile-time detection. I think that runtime
    detection will have to come in a follow-up CL to std-detect.
    
    Like all the CPU feature flags, this just references rust-lang#44839
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    ad552bc View commit details
    Browse the repository at this point in the history
  3. Add lexicographical comparison doc

    Add links
    
    Fix typo
    
    Use `sequence`
    
    Fix typo
    
    Fix broken link
    
    Fix broken link
    
    Fix broken link
    
    Fix broken links
    
    Fix broken links
    Rustin170506 committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    42844ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74a9891 View commit details
    Browse the repository at this point in the history
  5. Add some regression tests

    camelid committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    94ed945 View commit details
    Browse the repository at this point in the history
  6. Add FIXME note to const generics test

    Co-authored-by: lcnr <bastian_kauschke@hotmail.de>
    camelid and lcnr authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    4641d2e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    59f1088 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76635 - scottmcm:slice-as-chunks, r=LukasKa…

    …lbertodt
    
    Add [T]::as_chunks(_mut)
    
    Allows getting the slices directly, rather than just through an iterator as in `array_chunks(_mut)`.  The constructors for those iterators are then written in terms of these methods, so the iterator constructors no longer have any `unsafe` of their own.
    
    Unstable, of course. rust-lang#74985
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    13e88d6 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#77703 - Keruspe:system-libunwind, r=Mark-Si…

    …mulacrum
    
    add system-llvm-libunwind config option
    
    allows using the system-wide llvm-libunwind as the unwinder
    
    Workaround for rust-lang#76020
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    2c307fa View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#78219 - JohnTitor:print-def-path, r=estebank

    Prefer to use `print_def_path`
    
    Follow-up of rust-lang#71310 (comment)
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    f3c9437 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#78298 - Aaron1011:fix/nll-ranked-test, r=Ma…

    …rk-Simulacrum
    
    Add test for bad NLL higher-ranked subtype
    
    Fixes rust-lang#57642
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    9d7db48 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#78332 - PoignardAzur:doc_E0308, r=camelid

    Update description for error E0308
    
    Fixes rust-lang#76462
    
    r? @camelid
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    0b72ca6 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#78342 - oliviacrain:checkmate-pass, r=Mark-…

    …Simulacrum
    
    Use check-pass in single-use-lifetime ui tests
    
    Rationale: the `single_use_lifetimes` lint is used during late name resolution, which is within the scope of `check-pass` and does not require codegen or linking.
    
    Helps remove some FIXMES associated with rust-lang#62277. Additionally tidies touched test files.
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    afdd148 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#78347 - Rustin-Liu:rustin-patch-doc, r=kennytm

    Add lexicographical comparison doc
    
    close rust-lang#72255
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    727e93d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#78348 - jyn514:pub-crate, r=GuillaumeGomez

    Make some functions private that don't have to be public
    
    r? @GuillaumeGomez
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    ae54425 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#78349 - JohnTitor:issue-75962, r=davidtwco

    Use its own `TypeckResults` to avoid ICE
    
    Fixes rust-lang#75962
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    6abd2a5 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#78375 - taiki-e:question-in-macros, r=kennytm

    Use ? in core/std macros
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    5a33fa5 View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#78377 - LeSeulArtichaut:patch-docs, r=jonas…

    …-schievink
    
    Fix typo in debug statement
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    b72d70e View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#78388 - camelid:regression-tests, r=lcnr

    Add some regression tests
    
    Closes rust-lang#75763.
    Closes rust-lang#76179.
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    98e2a95 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#78394 - rubik:master, r=m-ou-se

    fix(docs): typo in BufWriter documentation
    
    This PR fixes a small typo in the BufWriter documentation. The current documentation looks like this:
    
    ![2020-10-26-111501_438x83_scrot](https://user-images.githubusercontent.com/238549/97160357-83d3a000-177c-11eb-8a35-3cdd3a7d89de.png)
    
    The `<u8>` at the end is mangled by Markdown. This PR makes the `BufWriter` documentation like the `BufReader` one:
    
    https://github.com/rust-lang/rust/blob/master/library/std/src/io/buffered/bufreader.rs#L16
    
    I'm tagging Steve as per the Rustc dev guide.
    
    r? @steveklabnik
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    f6f8764 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#78396 - josephlr:ermsb, r=petrochenkov

    Add compiler support for LLVM's x86_64 ERMSB feature
    
    This change is needed for compiler-builtins to check for this feature
    when implementing memcpy/memset. See:
      rust-lang/compiler-builtins#365
    
    Without this change, the following code compiles, but does nothing:
    ```rust
    #[cfg(target_feature = "ermsb")]
    pub unsafe fn ermsb_memcpy() { ... }
    ```
    
    The change just does compile-time detection. I think that runtime
    detection will have to come in a follow-up CL to std-detect.
    
    Like all the CPU feature flags, this just references rust-lang#44839
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    46b8e46 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#78405 - notriddle:patch-3, r=lcnr

    Fix typo in lint description
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    7824d9a View commit details
    Browse the repository at this point in the history
  23. Rollup merge of rust-lang#78412 - camelid:cleanup-hash-docs, r=jonas-…

    …schievink
    
    Improve formatting of hash collections docs
    JohnTitor authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    4236d27 View commit details
    Browse the repository at this point in the history