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

Merged
merged 16 commits into from
Feb 22, 2020
Merged

Rollup of 7 pull requests #69374

merged 16 commits into from
Feb 22, 2020

Commits on Feb 9, 2020

  1. Make u8::is_ascii a stable const fn

    `char::is_ascii` is already a stable `const fn`, so there is no reason
    for `u8::is_ascii` to be unstable.
    ecstatic-morse committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    f6d4720 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf732a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2020

  1. Add test for rust-lang#69312

    This bug was fixed by rust-lang#67501.
    
    Closes rust-lang#69312
    wesleywiser committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    ec980a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3303c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f3fcec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8893607 View commit details
    Browse the repository at this point in the history
  5. Test Duration::new panics on overflow

    A `Duration` is created from a second and nanoseconds variable. The
    documentation says: "This constructor will panic if the carry from the
    nanoseconds overflows the seconds counter". This was, however, not tested
    in the tests. I doubt the behavior will ever regress, but it is usually a
    good idea to test all documented behavior.
    MichaelMcDonnell committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    e1c8c8c View commit details
    Browse the repository at this point in the history
  6. Fix error message

    Bless tests
    LeSeulArtichaut committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    38a22b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2020

  1. Configuration menu
    Copy the full SHA
    88d6ab8 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#68984 - ecstatic-morse:const-u8-is-ascii, r…

    …=sfackler
    
    Make `u8::is_ascii` a stable `const fn`
    
    `char::is_ascii` was already stabilized as `const fn` in rust-lang#55278, so there is no reason for `u8::is_ascii` to go through an unstable period.
    
    cc @rust-lang/libs
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    c261ff1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d9b68a View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#69346 - GuillaumeGomez:clean-up-e032x-expla…

    …nations, r=Dylan-DPC
    
    Clean up E0323, E0324, E0325 and E0326 explanations
    
    r? @Dylan-DPC
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    1cb9fb5 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#69348 - LeSeulArtichaut:patch-1, r=Centril

    Wrong error message for move_ref_pattern
    
    The current error message states that move occurs *because of `Copy`*:
    ```Rust
    "move occurs because `{}` has type `{}` which does implement the `Copy` trait."
    ```
    I found this randomly when surfing through the sources. This means, I don't have any context and might be completely wrong.
    
    r? @Centril
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    8ab4060 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69349 - spastorino:mir-not-an-experiment, r…

    …=Dylan-DPC
    
    MIR is not an experiment anymore
    
    At least I hope is not 😝
    
    r? @oli-obk
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    541b407 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#69354 - MichaelMcDonnell:duration_overflow_…

    …test, r=Centril
    
    Test `Duration::new` panics on overflow
    
    A `Duration` is created from a second and nanoseconds variable. The
    documentation says: "This constructor will panic if the carry from the
    nanoseconds overflows the seconds counter". This was, however, not tested
    in the tests. I doubt the behavior will ever regress, but it is usually a
    good idea to test all documented behavior.
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    4f71270 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#69370 - RalfJung:const-eval-mod, r=oli-obk

    move const_eval.rs into the module folder
    
    This groups the file together with the other `const_eval` files in editors, diff views, etc.
    
    r? @oli-obk
    Dylan-DPC committed Feb 22, 2020
    Configuration menu
    Copy the full SHA
    e5fb129 View commit details
    Browse the repository at this point in the history