-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 12 pull requests #77224
Rollup of 12 pull requests #77224
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 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 -
Configuration menu - View commit details
-
Copy full SHA for 945a732 - Browse repository at this point
Copy the full SHA 945a732View commit details
Commits on Sep 24, 2020
-
- Suggest `x.py setup` if config.toml doesn't exist yet (twice, once before and once after the build) - Prompt for a profile if not given on the command line - Print the configuration file that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing - Note that distro maintainers will see the changelog warning
Configuration menu - View commit details
-
Copy full SHA for 9baa601 - Browse repository at this point
Copy the full SHA 9baa601View commit details -
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 -
Configuration menu - View commit details
-
Copy full SHA for 21ee171 - Browse repository at this point
Copy the full SHA 21ee171View 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 1e62382 - Browse repository at this point
Copy the full SHA 1e62382View commit details -
Rollup merge of rust-lang#76631 - jyn514:x.py-setup, r=Mark-Simulacrum
Add `x.py setup` Closes rust-lang#76503. - Suggest `x.py setup` if config.toml doesn't exist yet - Prompt for a profile if not given on the command line - Print the configuration that will be used - Print helpful starting commands after setup - Link to the dev-guide after finishing
Configuration menu - View commit details
-
Copy full SHA for c39598a - Browse repository at this point
Copy the full SHA c39598aView 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 31fd0ad - Browse repository at this point
Copy the full SHA 31fd0adView 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 ac8169d - Browse repository at this point
Copy the full SHA ac8169dView 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 3b544e7 - Browse repository at this point
Copy the full SHA 3b544e7View commit details -
Rollup merge of rust-lang#77127 - camelid:update-mdbook, r=Dylan-DPC
Update mdBook 0.4.2 -> 0.4.3 Also updated version requirement in `Cargo.toml` from 0.4.0 to 0.4.3.
Configuration menu - View commit details
-
Copy full SHA for 7ff5b44 - Browse repository at this point
Copy the full SHA 7ff5b44View 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 7c47b1e - Browse repository at this point
Copy the full SHA 7c47b1eView 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 f614ae4 - Browse repository at this point
Copy the full SHA f614ae4View commit details -
Rollup merge of rust-lang#77181 - GuillaumeGomez:add-pointer-alias, r…
…=jyn514,pickfire Add doc alias for pointer primitive
Configuration menu - View commit details
-
Copy full SHA for 0a19836 - Browse repository at this point
Copy the full SHA 0a19836View 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 67f8c59 - Browse repository at this point
Copy the full SHA 67f8c59View 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 259e947 - Browse repository at this point
Copy the full SHA 259e947View 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 9e02642 - Browse repository at this point
Copy the full SHA 9e02642View commit details