-
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 8 pull requests #90416
Rollup of 8 pull requests #90416
Commits on Oct 21, 2021
-
Added const versions of common numeric operations
# Conflicts: # library/core/src/lib.rs
Configuration menu - View commit details
-
Copy full SHA for 23d033e - Browse repository at this point
Copy the full SHA 23d033eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 361c978 - Browse repository at this point
Copy the full SHA 361c978View commit details
Commits on Oct 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 29a4e4a - Browse repository at this point
Copy the full SHA 29a4e4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 991a296 - Browse repository at this point
Copy the full SHA 991a296View commit details
Commits on Oct 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 04cb196 - Browse repository at this point
Copy the full SHA 04cb196View commit details -
Configuration menu - View commit details
-
Copy full SHA for a39c50b - Browse repository at this point
Copy the full SHA a39c50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87fbf3c - Browse repository at this point
Copy the full SHA 87fbf3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60bf2f1 - Browse repository at this point
Copy the full SHA 60bf2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c70831 - Browse repository at this point
Copy the full SHA 0c70831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 878ac10 - Browse repository at this point
Copy the full SHA 878ac10View commit details -
Configuration menu - View commit details
-
Copy full SHA for afaa54a - Browse repository at this point
Copy the full SHA afaa54aView commit details
Commits on Oct 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b6851ba - Browse repository at this point
Copy the full SHA b6851baView commit details -
Rollup merge of rust-lang#89876 - AlexApps99:const_ops, r=oli-obk
Make most std::ops traits const on numeric types This PR makes existing implementations of `std::ops` traits (`Add`, `Sub`, etc) [`impl const`](rust-lang#67792) where possible. This affects: - All numeric primitives (`u*`, `i*`, `f*`) - `NonZero*` - `Wrapping` This is under the `rustc_const_unstable` feature `const_ops`. I will write tests once I know what can and can't be kept for the final version of this PR. Since this is my first PR to rustc (and hopefully one of many), please give me feedback on how to better handle the PR process wherever possible. Thanks [Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Const.20std.3A.3Aops.20traits.20PR)
Configuration menu - View commit details
-
Copy full SHA for 20bb932 - Browse repository at this point
Copy the full SHA 20bb932View commit details -
Rollup merge of rust-lang#90371 - Veykril:patch-2, r=jyn514
Fix incorrect doc link Looks like a copy paste mistake
Configuration menu - View commit details
-
Copy full SHA for 86087f9 - Browse repository at this point
Copy the full SHA 86087f9View commit details -
Rollup merge of rust-lang#90374 - GuillaumeGomez:unify-rustdoc-book-t…
…itles, r=camelid Unify titles in rustdoc book doc attributes chapter As discussed in rust-lang#90339. I wasn't able to find out where the link to the titles was used so let's see if the CI fails. :) r? ``@camelid``
Configuration menu - View commit details
-
Copy full SHA for a213740 - Browse repository at this point
Copy the full SHA a213740View commit details -
Rollup merge of rust-lang#90377 - WaffleLapkin:const_slice_from_raw_p…
…arts, r=oli-obk Make `core::slice::from_raw_parts[_mut]` const Responses to rust-lang#90012 seem to allow ``@rust-lang/wg-const-eval`` to decide on use of `const_eval_select`, so we can make `core::slice::from_raw_parts[_mut]` const :) --- This PR marks the following APIs as const: ```rust // core::slice pub const unsafe fn from_raw_parts<'a, T>(data: *const T, len: usize) -> &'a [T]; pub const unsafe fn from_raw_parts_mut<'a, T>(data: *mut T, len: usize) -> &'a mut [T]; ``` --- Resolves rust-lang#90011 r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for b531364 - Browse repository at this point
Copy the full SHA b531364View commit details -
Rollup merge of rust-lang#90395 - b-naber:const-expr-type-relation, r…
…=oli-obk Restrict liveness of mutable borrow of inner infcx in ConstInferUnifier::consts Fixes rust-lang#89304 r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 88e0bea - Browse repository at this point
Copy the full SHA 88e0beaView commit details -
Rollup merge of rust-lang#90396 - b-naber:type_flags_ices_default_ano…
…n_consts, r=lcnr Prevent type flags assertions being thrown in default_anon_const_substs if errors occurred Fixes rust-lang#90364 Fixes rust-lang#88997 r? ``@lcnr``
Configuration menu - View commit details
-
Copy full SHA for d99dc7a - Browse repository at this point
Copy the full SHA d99dc7aView commit details -
Rollup merge of rust-lang#90402 - wesleywiser:query_descriptions, r=o…
…li-obk Add a few query descriptions
Configuration menu - View commit details
-
Copy full SHA for f9111e0 - Browse repository at this point
Copy the full SHA f9111e0View commit details -
Rollup merge of rust-lang#90412 - jyn514:macro-use, r=camelid
Remove unnecessary `macro_use`s in rustdoc
Configuration menu - View commit details
-
Copy full SHA for 19b5b0f - Browse repository at this point
Copy the full SHA 19b5b0fView commit details