-
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 6 pull requests #90235
Rollup of 6 pull requests #90235
Commits on Oct 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7f79153 - Browse repository at this point
Copy the full SHA 7f79153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80fe0bb - Browse repository at this point
Copy the full SHA 80fe0bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00e5abe - Browse repository at this point
Copy the full SHA 00e5abeView commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9a3c024 - Browse repository at this point
Copy the full SHA 9a3c024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5503dd9 - Browse repository at this point
Copy the full SHA 5503dd9View commit details
Commits on Oct 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9296efe - Browse repository at this point
Copy the full SHA 9296efeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22e1798 - Browse repository at this point
Copy the full SHA 22e1798View commit details
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a288bf6 - Browse repository at this point
Copy the full SHA a288bf6View commit details
Commits on Oct 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 27d6961 - Browse repository at this point
Copy the full SHA 27d6961View commit details -
Outdent method headings so they stand out
The makes the heading / documentation distinction clearer.
Configuration menu - View commit details
-
Copy full SHA for 542ab2d - Browse repository at this point
Copy the full SHA 542ab2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f390cf - Browse repository at this point
Copy the full SHA 5f390cfView commit details
Commits on Oct 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4b97023 - Browse repository at this point
Copy the full SHA 4b97023View commit details -
Configuration menu - View commit details
-
Copy full SHA for aacb497 - Browse repository at this point
Copy the full SHA aacb497View commit details -
Rollup merge of rust-lang#89558 - lcnr:query-stable-lint, r=estebank
Add rustc lint, warning when iterating over hashmaps r? rust-lang/wg-incr-comp
Configuration menu - View commit details
-
Copy full SHA for 87822b2 - Browse repository at this point
Copy the full SHA 87822b2View commit details -
Rollup merge of rust-lang#90100 - Mark-Simulacrum:speed-macos-ci, r=p…
…ietroalbini Skip documentation for tier 2 targets on dist-x86_64-apple-darwin I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely). r? ```@pietroalbini```
Configuration menu - View commit details
-
Copy full SHA for d814af9 - Browse repository at this point
Copy the full SHA d814af9View commit details -
Rollup merge of rust-lang#90155 - jsha:outdent-methods, r=GuillaumeGo…
…mez,camelid Fix alignment of method headings for scannability We sometimes use indentation to indicate something is a heading: The section that comes after is indented by 24px relative to the heading. However, the relationship between the "Implementations" section heading, the `impl` headings it contains, and the `pub fn` subheadings within each impl, is awkward. It goes **Implementations**, 15px indent, `impl`, 5px indent, `pub fn`, 4px indent, docblock. I line up `impl` and `pub fn` with the `Implementations` heading, give `impl` a larger font size to indicate it is higher in the hierarchy, and indent the docblock a full 24px relative to their parent, matching the indents we use elsewhere to distinguish section headings. By letting the `pub fn` stick out to the left of the docblock, I think this makes methods significantly more scannable. Related to rust-lang#59829 r? `````@camelid````` [Old](https://doc.rust-lang.org/nightly/std/string/struct.String.html#implementations): [![image](https://user-images.githubusercontent.com/220205/138380233-9c63a0f2-0f80-40a3-ab3d-a1ee9fb7c5d8.png)](https://doc.rust-lang.org/nightly/std/string/struct.String.html#implementations) [New](https://jacob.hoffman-andrews.com/rust/outdent-methods/std/string/struct.String.html#implementations): [![image](https://user-images.githubusercontent.com/220205/138392479-b45fce3f-bf43-42e0-81ee-c4bb9ac35cda.png)](https://jacob.hoffman-andrews.com/rust/outdent-methods/std/string/struct.String.html#implementations)
Configuration menu - View commit details
-
Copy full SHA for b837605 - Browse repository at this point
Copy the full SHA b837605View commit details -
Rollup merge of rust-lang#90162 - WaffleLapkin:const_array_slice_from…
…_ref_mut, r=oli-obk Mark `{array, slice}::{from_ref, from_mut}` as const fn This PR marks the following APIs as `const`: ```rust // core::array pub const fn from_ref<T>(s: &T) -> &[T; 1]; pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1]; // core::slice pub const fn from_ref<T>(s: &T) -> &[T]; pub const fn from_mut<T>(s: &mut T) -> &mut [T]; ``` Note that `from_ref` methods require `const_raw_ptr_deref` feature (which seems totally fine, since it's being stabilized, see rust-lang#89551), `from_mut` methods require `const_mut_refs` (which seems fine too since this PR marks `from_mut` functions as const unstable). r? ````@oli-obk````
Configuration menu - View commit details
-
Copy full SHA for c16ee19 - Browse repository at this point
Copy the full SHA c16ee19View commit details -
Rollup merge of rust-lang#90221 - JakobDegen:issue-90213, r=cjgillot
Fix ICE when forgetting to `Box` a parameter to a `Self::func` call Closes rust-lang#90213 . Assuming we can get the `DefId` of the receiver causes an ICE if the receiver is `Self`. We can just avoid doing this though.
Configuration menu - View commit details
-
Copy full SHA for d576393 - Browse repository at this point
Copy the full SHA d576393View commit details -
Rollup merge of rust-lang#90234 - rusticstuff:rustc-rayon-core-no-ove…
…rflow-checks, r=Mark-Simulacrum Temporarily turn overflow checks off for rustc-rayon-core The rustc fork of Rayon has deadlock detection code which intermittently causes overflows in the CI (see rust-lang#90227). So, as a workaround, we unconditionally turn overflow checks off for this crate only. This workaround should be removed once rust-lang#90227 is fixed. r? `@Mark-Simulacrum` cc `@matthiaskrgr`
Configuration menu - View commit details
-
Copy full SHA for eee29fd - Browse repository at this point
Copy the full SHA eee29fdView commit details