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

Merged
merged 20 commits into from
Mar 8, 2020
Merged

Rollup of 8 pull requests #69804

merged 20 commits into from
Mar 8, 2020

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    321d90e View commit details
    Browse the repository at this point in the history
  2. Update tests

    JohnTitor committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    45a30cd View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. Configuration menu
    Copy the full SHA
    cc9aad4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    81f435d View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. reduce test size for Miri

    RalfJung committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    2770f30 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. fix various typos

    matthiaskrgr committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    136ad01 View commit details
    Browse the repository at this point in the history
  2. Remove NO_DEBUG const

    JohnTitor committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    18080e6 View commit details
    Browse the repository at this point in the history
  3. bless tests

    matthiaskrgr committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    4c2b0f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ed6e79 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2020

  1. Configuration menu
    Copy the full SHA
    545ef9d View commit details
    Browse the repository at this point in the history
  2. Update alloc.rs

    TimDiekmann committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    09d3ba1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dffd18f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    614cd8d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69687 - Centril:bm-inconsistent-wording, r=…

    …estebank
    
    resolve, inconsistent binding mode: tweak wording
    
    Now that we can have e.g. `let Ok(x) | Err(x) = res;`, it's no longer appropriate to refer to "the same *match arm*", so let's tweak the wording.
    
    r? @estebank
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    289c3a5 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69708 - estebank:tiny, r=petrochenkov

    On mismatched delimiters, only point at empty blocks that are in the same line
    
    We point at empty blocks when we have mismatched braces to detect cases where editors auto insert `}` after writing `{`. Gate this to only the case where the entire span is in the same line so we never point at explicitly empty blocks.
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    1a1f948 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69765 - RalfJung:miri-test, r=LukasKalbertodt

    reduce test size for Miri
    
    The larger sizes take quite a while, and there is probably little point in repeating this quite so often.
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    e6d4996 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    10f999b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#69787 - spastorino:use-local-directly-its-c…

    …opy, r=oli-obk
    
    mir::Local is Copy we can pass it by value in these cases
    
    r? @oli-obk
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    f1f4864 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#69794 - TimDiekmann:dangling, r=Amanieu

    Add `Layout::dangling()` to return a well-aligned `NonNull<u8>`
    
    Adds a convenient function to `Layout` to create a `NonNull<u8>` out of a layout to be returned on ZST allocations.
    
    This is the first item on the roadmap to support ZSTs in `AllocRef`: rust-lang/wg-allocators#38 (comment)
    
    r? @Amanieu
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    963b0aa View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#69797 - jongiddy:convert-version, r=Mark-Si…

    …mulacrum
    
    Correct version that relaxed orphan rules
    
    Docs say
    > Prior to Rust 1.40, if the destination type was not part of the current crate then you couldn't implement From directly
    
    Version 1.41 of Rust introduced the change to the orphan rules - https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html#relaxed-restrictions-when-implementing-traits - so this should say
    > Prior to Rust 1.41...
    Centril committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    8ee7278 View commit details
    Browse the repository at this point in the history