-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Rollup of 7 pull requests #69374
Commits on Feb 9, 2020
-
Make
u8::is_ascii
a stableconst fn
`char::is_ascii` is already a stable `const fn`, so there is no reason for `u8::is_ascii` to be unstable.
Configuration menu - View commit details
-
Copy full SHA for f6d4720 - Browse repository at this point
Copy the full SHA f6d4720View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf732a1 - Browse repository at this point
Copy the full SHA bf732a1View commit details
Commits on Feb 21, 2020
-
This bug was fixed by rust-lang#67501. Closes rust-lang#69312
Configuration menu - View commit details
-
Copy full SHA for ec980a2 - Browse repository at this point
Copy the full SHA ec980a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3303c7 - Browse repository at this point
Copy the full SHA c3303c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3fcec - Browse repository at this point
Copy the full SHA 8f3fcecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8893607 - Browse repository at this point
Copy the full SHA 8893607View commit details -
Test
Duration::new
panics on overflowA `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.
Configuration menu - View commit details
-
Copy full SHA for e1c8c8c - Browse repository at this point
Copy the full SHA e1c8c8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38a22b8 - Browse repository at this point
Copy the full SHA 38a22b8View commit details
Commits on Feb 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 88d6ab8 - Browse repository at this point
Copy the full SHA 88d6ab8View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c261ff1 - Browse repository at this point
Copy the full SHA c261ff1View commit details -
Rollup merge of rust-lang#69339 - wesleywiser:test_for_69312, r=Centril
Add test for rust-lang#69312 This bug was fixed by rust-lang#67501. Closes rust-lang#69312
Configuration menu - View commit details
-
Copy full SHA for 3d9b68a - Browse repository at this point
Copy the full SHA 3d9b68aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1cb9fb5 - Browse repository at this point
Copy the full SHA 1cb9fb5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 8ab4060 - Browse repository at this point
Copy the full SHA 8ab4060View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 541b407 - Browse repository at this point
Copy the full SHA 541b407View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4f71270 - Browse repository at this point
Copy the full SHA 4f71270View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e5fb129 - Browse repository at this point
Copy the full SHA e5fb129View commit details