-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 #77222
Rollup of 10 pull requests #77222
Commits on Aug 12, 2020
-
Explicitly document the size guarantees that Option makes.
Triggered by a discussion on wg-unsafe-code-guidelines about which layouts of `Option<T>` one can guarantee are optimised to a single pointer.
Configuration menu - View commit details
-
Copy full SHA for 73ada2d - Browse repository at this point
Copy the full SHA 73ada2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5118a5 - Browse repository at this point
Copy the full SHA f5118a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f47aa - Browse repository at this point
Copy the full SHA 83f47aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3d7196 - Browse repository at this point
Copy the full SHA f3d7196View commit details -
Co-authored-by: Ralf Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8cb8955 - Browse repository at this point
Copy the full SHA 8cb8955View commit details -
Co-authored-by: Ralf Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55802e3 - Browse repository at this point
Copy the full SHA 55802e3View commit details
Commits on Aug 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 68209c3 - Browse repository at this point
Copy the full SHA 68209c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bac577 - Browse repository at this point
Copy the full SHA 9bac577View commit details
Commits on Sep 8, 2020
-
Point at named argument not found when using
format_args_capture
in……stead of whole format string
Configuration menu - View commit details
-
Copy full SHA for 2ac89ff - Browse repository at this point
Copy the full SHA 2ac89ffView commit details
Commits on Sep 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 45d92b4 - Browse repository at this point
Copy the full SHA 45d92b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0abb1ab - Browse repository at this point
Copy the full SHA 0abb1abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dbfdb0 - Browse repository at this point
Copy the full SHA 3dbfdb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e84b61 - Browse repository at this point
Copy the full SHA 0e84b61View commit details
Commits on Sep 24, 2020
-
Remove TrustedLen requirement from BuilderMethods::switch
The main use case of TrustedLen is allowing APIs to specialize on it, but no use of it uses that specialization. Instead, only the .len() function provided by ExactSizeIterator is used, which is already required to be accurate. Thus, the TrustedLen requirement on BuilderMethods::switch is redundant.
Configuration menu - View commit details
-
Copy full SHA for 12ada5c - Browse repository at this point
Copy the full SHA 12ada5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47843f5 - Browse repository at this point
Copy the full SHA 47843f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5430e5 - Browse repository at this point
Copy the full SHA e5430e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff7009a - Browse repository at this point
Copy the full SHA ff7009aView commit details
Commits on Sep 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0d2521a - Browse repository at this point
Copy the full SHA 0d2521aView commit details -
Put floating point arithmetic behind its own feature gate
This refactors handling of `Rvalue::{Unary,Binary}Op` in the const-checker. Now we `span_bug` if there's an unexpected type in a primitive operation. This also allows unary negation on `char` values through the const-checker because it makes the code a bit cleaner. `char` does not actually support these operations, and if it did, we could evaluate them at compile-time.
Configuration menu - View commit details
-
Copy full SHA for 2049052 - Browse repository at this point
Copy the full SHA 2049052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a52c09 - Browse repository at this point
Copy the full SHA 6a52c09View commit details -
Configuration menu - View commit details
-
Copy full SHA for b428f28 - Browse repository at this point
Copy the full SHA b428f28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cac90c - Browse repository at this point
Copy the full SHA 4cac90cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 659028f - Browse repository at this point
Copy the full SHA 659028fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 187162e - Browse repository at this point
Copy the full SHA 187162eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 900daba - Browse repository at this point
Copy the full SHA 900dabaView commit details -
It's called `span` elsewhere in the compiler and `span` is also less surprising. `whence` is whimsical, but not super clear :)
Configuration menu - View commit details
-
Copy full SHA for aa6a2f4 - Browse repository at this point
Copy the full SHA aa6a2f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12187b7 - Browse repository at this point
Copy the full SHA 12187b7View commit details
Commits on Sep 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 32195ac - Browse repository at this point
Copy the full SHA 32195acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a607c0 - Browse repository at this point
Copy the full SHA 9a607c0View commit details -
Rollup merge of rust-lang#75454 - ltratt:option_optimisation_guarante…
…es, r=dtolnay Explicitly document the size guarantees that Option makes. Triggered by a discussion on wg-unsafe-code-guidelines about which layouts of `Option<T>` one can guarantee are optimised to a single pointer. CC @RalfJung
Configuration menu - View commit details
-
Copy full SHA for 2b53e01 - Browse repository at this point
Copy the full SHA 2b53e01View commit details -
Rollup merge of rust-lang#76485 - estebank:format_arg_capture_spans, …
…r=davidtwco Point at named argument not found when using `format_args_capture` instead of whole format string
Configuration menu - View commit details
-
Copy full SHA for bc9c67f - Browse repository at this point
Copy the full SHA bc9c67fView commit details -
Rollup merge of rust-lang#77076 - GuillaumeGomez:missing-code-example…
…s-slice-iter, r=Dylan-DPC Add missing code examples on slice iter types r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 6e54446 - Browse repository at this point
Copy the full SHA 6e54446View commit details -
Rollup merge of rust-lang#77093 - lcnr:const-generics-infer-warning, …
…r=varkor merge `need_type_info_err(_const)` I hoped that this would automatically solve rust-lang#76737 but it doesn't quite seem like it fixes rust-lang#77092 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 04c4696 - Browse repository at this point
Copy the full SHA 04c4696View commit details -
Rollup merge of rust-lang#77122 - ecstatic-morse:const-fn-arithmetic,…
… r=RalfJung,oli-obk Add `#![feature(const_fn_floating_point_arithmetic)]` cc rust-lang#76618 This is a template for splitting up `const_fn` into granular feature gates. I think this will make it easier, both for us and for users, to track stabilization of each individual feature. We don't *have* to do this, however. We could also keep stabilizing things out from under `const_fn`. cc @rust-lang/wg-const-eval r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 273317d - Browse repository at this point
Copy the full SHA 273317dView commit details -
Rollup merge of rust-lang#77161 - est31:swich_len_already_trusted, r=…
…petrochenkov Remove TrustedLen requirement from BuilderMethods::switch The main use case of TrustedLen is allowing APIs to specialize on it, but no use of it uses that specialization. Instead, only the .len() function provided by ExactSizeIterator is used, which is already required to be accurate. Thus, the TrustedLen requirement on BuilderMethods::switch is redundant.
Configuration menu - View commit details
-
Copy full SHA for 2007588 - Browse repository at this point
Copy the full SHA 2007588View commit details -
Rollup merge of rust-lang#77166 - RalfJung:miri, r=RalfJung
update Miri Fixes rust-lang#77130
Configuration menu - View commit details
-
Copy full SHA for fbbcd57 - Browse repository at this point
Copy the full SHA fbbcd57View commit details -
Rollup merge of rust-lang#77204 - LingMan:patch-3, r=jonas-schievink
Remove stray word from `ClosureKind::extends` docs
Configuration menu - View commit details
-
Copy full SHA for 41a3106 - Browse repository at this point
Copy the full SHA 41a3106View commit details -
Rollup merge of rust-lang#77207 - camelid:whence-to-span, r=jyn514
Rename `whence` to `span` It's called `span` elsewhere in the compiler and `span` is also less surprising. `whence` is whimsical, but not super clear :) See [this Discord conversation](https://discord.com/channels/442252698964721669/459149231702278154/758731658689511444) for more. r? @jyn514
Configuration menu - View commit details
-
Copy full SHA for 6b62525 - Browse repository at this point
Copy the full SHA 6b62525View commit details -
Rollup merge of rust-lang#77211 - est31:remove_unused_allow, r=oli-obk
Remove unused #[allow(...)] statements from compiler/
Configuration menu - View commit details
-
Copy full SHA for 644b592 - Browse repository at this point
Copy the full SHA 644b592View commit details