-
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 11 pull requests #84483
Rollup of 11 pull requests #84483
Commits on Apr 2, 2021
-
On stable, suggest removing
#![feature]
for features that have been…… stabilized I don't know how to test this. I confirmed locally that this gives the appropriate help with `channel = "beta"`: ``` error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:2:1 | 2 | #![feature(min_const_generics)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute | = help: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:3:1 | 3 | #![feature(min_const_generics, min_specialization)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:4:1 | 4 | #![feature(box_patterns)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ```
Configuration menu - View commit details
-
Copy full SHA for 53a1105 - Browse repository at this point
Copy the full SHA 53a1105View commit details
Commits on Apr 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 37a5b51 - Browse repository at this point
Copy the full SHA 37a5b51View commit details
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 259a368 - Browse repository at this point
Copy the full SHA 259a368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cb1dcd - Browse repository at this point
Copy the full SHA 7cb1dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312b4fd - Browse repository at this point
Copy the full SHA 312b4fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e0d2f - Browse repository at this point
Copy the full SHA d3e0d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d9eeff - Browse repository at this point
Copy the full SHA 5d9eeffView commit details
Commits on Apr 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9cabbd0 - Browse repository at this point
Copy the full SHA 9cabbd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3794fc9 - Browse repository at this point
Copy the full SHA 3794fc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0d05d2 - Browse repository at this point
Copy the full SHA c0d05d2View commit details -
doc/platform-support: clarify UEFI support
Add missing information on what standard-library features are supported by the UEFI targets. All current UEFI targets (which is i686 and x86_64) only support no_std cross-compilations. `std` support has not been worked on and is unlikely to emerge anytime soon, due to the much restricted environment that UEFI provides.
Configuration menu - View commit details
-
Copy full SHA for bfbf4ce - Browse repository at this point
Copy the full SHA bfbf4ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for a03cba3 - Browse repository at this point
Copy the full SHA a03cba3View commit details -
Get rid of "[+] show undocumented items" toggle on numeric From impls
On most From implementations, the docstring is attached to the function. This is also how people have been [recommended] to do it. Screenshots: * [before](https://user-images.githubusercontent.com/1593513/115767662-323c5480-a35e-11eb-9918-98aba83e9183.png) * [after](https://user-images.githubusercontent.com/1593513/115767675-35374500-a35e-11eb-964f-c28eeb6c807a.png) [recommended]: rust-lang#51430 (comment)
Configuration menu - View commit details
-
Copy full SHA for c247055 - Browse repository at this point
Copy the full SHA c247055View commit details -
Configuration menu - View commit details
-
Copy full SHA for a07bf2e - Browse repository at this point
Copy the full SHA a07bf2eView commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e1d9b3c - Browse repository at this point
Copy the full SHA e1d9b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3170536 - Browse repository at this point
Copy the full SHA 3170536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2df886d - Browse repository at this point
Copy the full SHA 2df886dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f2705 - Browse repository at this point
Copy the full SHA 26f2705View commit details -
Configuration menu - View commit details
-
Copy full SHA for a344282 - Browse repository at this point
Copy the full SHA a344282View commit details -
Fix macro bug in
impl From<DefKind> for ItemType
This was missed a while ago when support for proc-macro attributes was first added.
Configuration menu - View commit details
-
Copy full SHA for 6c066ab - Browse repository at this point
Copy the full SHA 6c066abView commit details -
Rollup merge of rust-lang#83722 - jyn514:stable-help, r=estebank
On stable, suggest removing `#![feature]` for features that have been stabilized I don't know how to test this (https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Run.20tests.20without.20enabling.20nightly.20features.3F). I confirmed locally that this gives the appropriate help with `channel = "beta"`: ``` error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:2:1 | 2 | #![feature(min_const_generics)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute | = help: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:3:1 | 3 | #![feature(min_const_generics, min_specialization)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: the feature `min_const_generics` has been stable since 1.51.0 and no longer requires an attribute to enable error[E0554]: `#![feature]` may not be used on the beta release channel --> src/lib.rs:4:1 | 4 | #![feature(box_patterns)] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Closes rust-lang#83715.
Configuration menu - View commit details
-
Copy full SHA for 01089e0 - Browse repository at this point
Copy the full SHA 01089e0View commit details -
Rollup merge of rust-lang#83990 - the8472:take-trusted-len, r=dtolnay
implement `TrustedRandomAccess` for `Take` iterator adapter `TrustedRandomAccess` requires the iterator length to fit within `usize`. `take(n)` only constrains the upper bound of an iterator. So if the inner is `TrustedRandomAccess` (which already implies a finite length) then so can be `Take`. ``````@rustbot`````` label T-libs-impl
Configuration menu - View commit details
-
Copy full SHA for 5a86c44 - Browse repository at this point
Copy the full SHA 5a86c44View commit details -
Rollup merge of rust-lang#84299 - lcnr:const-generics-defaults-name-r…
…es, r=varkor various const parameter defaults improvements Actually resolve names in const parameter defaults, fixing `struct Foo<const N: usize = { usize::MAX }>`. --- Split generic parameter ban rib for types and consts, allowing ```rust #![feature(const_generics_defaults)] struct Q; struct Foo<T = Q, const Q: usize = 3>(T); ``` --- Remove the type/const ordering restriction if `const_generics_defaults` is active, even if `const_generics` is not. allowing us to stabilize and test const param defaults separately. --- Check well formedness of const parameter defaults, eagerly emitting an error for `struct Foo<const N: usize = { 0 - 1 }>` --- Do not forbid const parameters in param defaults, allowing `struct Foo<const N: usize, T = [u8; N]>(T)` and `struct Foo<const N: usize, const M: usize = N>`. Note that this should not change anything which is stabilized, as on stable, type parameters must be in front of const parameters, which means that type parameter defaults are only allowed if no const parameters exist. We still forbid generic parameters inside of const param types. r? ``````@varkor`````` ``````@petrochenkov``````
Configuration menu - View commit details
-
Copy full SHA for 0376ef9 - Browse repository at this point
Copy the full SHA 0376ef9View commit details -
Rollup merge of rust-lang#84374 - CDirkx:gitignore, r=Mark-Simulacrum
Clean up .gitignore Categorizes entries in the `.gitignore` file. Other changes: - added `desktop.ini` (Windows equivalent of `.DS_Store`) - removed `.hg/` and `.hgignore`
Configuration menu - View commit details
-
Copy full SHA for 44615e2 - Browse repository at this point
Copy the full SHA 44615e2View commit details -
Rollup merge of rust-lang#84387 - CDirkx:poison, r=m-ou-se
Move `sys_common::poison` to `sync::poison` `sys_common` should not contain publicly exported types, only platform-independent abstractions on top of `sys`, which `sys_common::poison` is not. There is thus no reason for the module to not live under `sync`. Part of rust-lang#84187.
Configuration menu - View commit details
-
Copy full SHA for a456475 - Browse repository at this point
Copy the full SHA a456475View commit details -
Rollup merge of rust-lang#84409 - mzohreva:mz/tls-dtors-before-join, …
…r=dtolnay Ensure TLS destructors run before thread joins in SGX The excellent test is from ``@jethrogb`` For context see: rust-lang#83416 (comment)
Configuration menu - View commit details
-
Copy full SHA for 45b3b10 - Browse repository at this point
Copy the full SHA 45b3b10View commit details -
Rollup merge of rust-lang#84430 - dvdhrm:rw/uefidoc, r=Amanieu
doc/platform-support: clarify UEFI support Add missing information on what standard-library features are supported by the UEFI targets. All current UEFI targets (which is i686 and x86_64) only support no_std cross-compilations. `std` support has not been worked on and is unlikely to emerge anytime soon, due to the much restricted environment that UEFI provides.
Configuration menu - View commit details
-
Copy full SHA for 99aa0fa - Browse repository at this point
Copy the full SHA 99aa0faView commit details -
Rollup merge of rust-lang#84433 - GuillaumeGomez:search-input-blur, r…
…=jsha Prevent control, shift and alt keys to make search input lose focus Part of rust-lang#84384. r? ```@jsha```
Configuration menu - View commit details
-
Copy full SHA for 2a2b15a - Browse repository at this point
Copy the full SHA 2a2b15aView commit details -
Rollup merge of rust-lang#84444 - notriddle:num-docs-from-undocumente…
…d-items-toggle, r=yaahc doc: Get rid of "[+] show undocumented items" toggle on numeric From impls On most From implementations, the docstring is attached to the function. This is also how people have been [recommended] to do it. Screenshots: * [before](https://user-images.githubusercontent.com/1593513/115767662-323c5480-a35e-11eb-9918-98aba83e9183.png) * [after](https://user-images.githubusercontent.com/1593513/115767675-35374500-a35e-11eb-964f-c28eeb6c807a.png) [recommended]: rust-lang#51430 (comment)
Configuration menu - View commit details
-
Copy full SHA for 83ebe41 - Browse repository at this point
Copy the full SHA 83ebe41View commit details -
Rollup merge of rust-lang#84456 - richkadel:issue-84421, r=tmandry
Fix ICE if original_span(fn_sig) returns a span not in body sourcefile Fixes: rust-lang#84421 r? ```@tmandry``` fyi: ```@wesleywiser``` ```@sdroege``` ```@rajivshah3```
Configuration menu - View commit details
-
Copy full SHA for 6409149 - Browse repository at this point
Copy the full SHA 6409149View commit details -
Rollup merge of rust-lang#84464 - jyn514:type-kind, r=CraftSpider
rustdoc: Get rid of `clean::TypeKind` It does exactly the same thing as ItemType.
Configuration menu - View commit details
-
Copy full SHA for 3ed8bba - Browse repository at this point
Copy the full SHA 3ed8bbaView commit details