-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 10 pull requests #79345
Rollup of 10 pull requests #79345
Commits on Nov 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f7bf282 - Browse repository at this point
Copy the full SHA f7bf282View commit details
Commits on Nov 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 34ea5d0 - Browse repository at this point
Copy the full SHA 34ea5d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c85af74 - Browse repository at this point
Copy the full SHA c85af74View commit details
Commits on Nov 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ee6f42b - Browse repository at this point
Copy the full SHA ee6f42bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d350e - Browse repository at this point
Copy the full SHA 71d350eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e69fcea - Browse repository at this point
Copy the full SHA e69fceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb40684 - Browse repository at this point
Copy the full SHA cb40684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 674f196 - Browse repository at this point
Copy the full SHA 674f196View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0871cc - Browse repository at this point
Copy the full SHA e0871ccView commit details
Commits on Nov 23, 2020
-
Also stabilize constctlz for const ctlz_nonzero. The public methods stabilized const by this commit are: * `{i*,u*}::checked_pow` * `{i*,u*}::saturating_pow` * `{i*,u*}::wrapping_pow` * `{i*,u*}::overflowing_pow` * `{i*,u*}::pow` * `u*::next_power_of_two` * `u*::checked_next_power_of_two` * `u*::wrapping_next_power_of_two` (the method itself is still unstable)
Configuration menu - View commit details
-
Copy full SHA for aca37b6 - Browse repository at this point
Copy the full SHA aca37b6View commit details -
const_int_pow will be stabilized in 1.50.0, not in 1.49.0
Same for constctlz.
Configuration menu - View commit details
-
Copy full SHA for a6bcf7a - Browse repository at this point
Copy the full SHA a6bcf7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 432a33e - Browse repository at this point
Copy the full SHA 432a33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b196bec - Browse repository at this point
Copy the full SHA b196becView commit details -
Configuration menu - View commit details
-
Copy full SHA for a804e38 - Browse repository at this point
Copy the full SHA a804e38View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd89732 - Browse repository at this point
Copy the full SHA cd89732View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7d1189 - Browse repository at this point
Copy the full SHA c7d1189View commit details -
Rollup merge of #76829 - tspiteri:const-int-pow, r=oli-obk
stabilize const_int_pow This also requires stabilizing constctlz for const ctlz_nonzero.
Configuration menu - View commit details
-
Copy full SHA for 703f176 - Browse repository at this point
Copy the full SHA 703f176View commit details -
Rollup merge of #79080 - camelid:mir-visit-debuginfo-project, r=jonas…
…-schievink MIR visitor: Don't treat debuginfo field access as a use of the struct Fixes #77454. r? `@jonas-schievink`
Configuration menu - View commit details
-
Copy full SHA for d4a0569 - Browse repository at this point
Copy the full SHA d4a0569View commit details -
Rollup merge of #79236 - lcnr:mcg-resolve-dsb, r=eddyb
const_generics: assert resolve hack causes an error prevent the min_const_generics `HACK`s in resolve from triggering a fallback path which successfully compiles so that we don't have to worry about future compat issues when removing it r? `@eddyb` cc `@varkor`
Configuration menu - View commit details
-
Copy full SHA for c58c245 - Browse repository at this point
Copy the full SHA c58c245View commit details -
Rollup merge of #79287 - jonas-schievink:const-trait-impl, r=oli-obk
Allow using generic trait methods in `const fn` Next step for #67792, this now also allows code like the following: ```rust struct S; impl const PartialEq for S { fn eq(&self, _: &S) -> bool { true } } const fn equals_self<T: PartialEq>(t: &T) -> bool { *t == *t } pub const EQ: bool = equals_self(&S); ``` This works by threading const-ness of trait predicates through trait selection, in particular through `ParamCandidate`, and exposing it in the resulting `ImplSource`. Since this change makes two bounds `T: Trait` and `T: ?const Trait` that only differ in their const-ness be treated like different bounds, candidate winnowing has been changed to drop the `?const` candidate in favor of the const candidate, to avoid ambiguities when both a const and a non-const bound is present.
Configuration menu - View commit details
-
Copy full SHA for c7a6720 - Browse repository at this point
Copy the full SHA c7a6720View commit details -
Rollup merge of #79324 - LingMan:and_then, r=jonas-schievink
Use Option::and_then instead of open-coding it `@rustbot` modify labels to +C-cleanup.
Configuration menu - View commit details
-
Copy full SHA for 32be3ae - Browse repository at this point
Copy the full SHA 32be3aeView commit details -
Rollup merge of #79325 - LingMan:try_op, r=jonas-schievink
Reduce boilerplate with the `?` operator `@rustbot` modify labels to +C-cleanup.
Configuration menu - View commit details
-
Copy full SHA for b4db342 - Browse repository at this point
Copy the full SHA b4db342View commit details -
Rollup merge of #79330 - jyn514:typo, r=jyn514
Fix typo in comment This is trivial enough I'm just going to merge without review. r? `@ghost`
Configuration menu - View commit details
-
Copy full SHA for b48ebc6 - Browse repository at this point
Copy the full SHA b48ebc6View commit details -
Rollup merge of #79333 - o752d:patch-3, r=Mark-Simulacrum
doc typo plus a small edit for clarity
Configuration menu - View commit details
-
Copy full SHA for a0cf162 - Browse repository at this point
Copy the full SHA a0cf162View commit details -
Rollup merge of #79337 - LingMan:map, r=jyn514
Use Option::map instead of open coding it r? `@jonas-schievink` since you're frequently sniping these minor cleanups anyway. `@rustbot` modify labels +C-cleanup +T-compiler
Configuration menu - View commit details
-
Copy full SHA for 064c3c1 - Browse repository at this point
Copy the full SHA 064c3c1View commit details -
Rollup merge of #79343 - flip1995:mailmap, r=Mark-Simulacrum
Add my (@flip1995) work mail to the mailmap
Configuration menu - View commit details
-
Copy full SHA for ea3c269 - Browse repository at this point
Copy the full SHA ea3c269View commit details